// This source file is part of HGamer3D // (A project to enable 3D game development in Haskell) // For the latest info, see http://www.althainz.de/HGamer3D.html // // (c) 2011 Peter Althainz // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // // EnumCpuFeatures.h // // // // // File for type, method, enum or function stubs // in: "Dep-OgreSDK/include/OGRE\OgrePlatformInformation.h" // // each stub combines the following files: // a C++ implementation file, transforming cpp calls into C-functions // a C-header file, making this C-functions available for the C2HS parser // a chs file, give instructions to the C2HS parser. // // #include "wchar.h" // enum from Dep-OgreSDK/include/OGRE\OgrePlatformInformation.h line:146 enum EnumCpuFeatures { #if OGRE_CPU == OGRE_CPU_X86 CPU_FEATURE_SSE = 1 << 0, CPU_FEATURE_SSE2 = 1 << 1, CPU_FEATURE_SSE3 = 1 << 2, CPU_FEATURE_MMX = 1 << 3, CPU_FEATURE_MMXEXT = 1 << 4, CPU_FEATURE_3DNOW = 1 << 5, CPU_FEATURE_3DNOWEXT = 1 << 6, CPU_FEATURE_CMOV = 1 << 7, CPU_FEATURE_TSC = 1 << 8, CPU_FEATURE_FPU = 1 << 9, CPU_FEATURE_PRO = 1 << 10, CPU_FEATURE_HTT = 1 << 11, #elif OGRE_CPU == OGRE_CPU_ARM CPU_FEATURE_VFP = 1 << 12, CPU_FEATURE_NEON = 1 << 13, #endif CPU_FEATURE_NONE = 0 };