1"====================================================================== 2| 3| SDL declarations 4| 5| 6 ======================================================================" 7 8 9"====================================================================== 10| 11| Copyright 2006, 2008 Free Software Foundation, Inc. 12| Written by Brad Watson 13| 14| This file is part of the GNU Smalltalk class library. 15| 16| The GNU Smalltalk class library is free software; you can redistribute it 17| and/or modify it under the terms of the GNU Lesser General Public License 18| as published by the Free Software Foundation; either version 2.1, or (at 19| your option) any later version. 20| 21| The GNU Smalltalk class library is distributed in the hope that it will be 22| useful, but WITHOUT ANY WARRANTY; without even the implied warranty of 23| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser 24| General Public License for more details. 25| 26| You should have received a copy of the GNU Lesser General Public License 27| along with the GNU Smalltalk class library; see the file COPYING.LIB. 28| If not, write to the Free Software Foundation, 59 Temple Place - Suite 29| 330, Boston, MA 02110-1301, USA. 30| 31 ======================================================================" 32 33 34"====================================================================== 35| 36| Notes: implemented without callbacks. 37| 38 ======================================================================" 39 40Object subclass: #SdlCPUInfo 41 instanceVariableNames: '' 42 classVariableNames: '' 43 poolDictionaries: '' 44 category: 'LibSDL-Core'! ! 45 46!SdlCPUInfo class methodsFor: 'C call-outs'! 47 48sdlHasRDTSC 49 <cCall: 'SDL_HasRDTSC' returning: #boolean 50 args: #( )>! 51 52sdlHasMMX 53 <cCall: 'SDL_HasMMX' returning: #boolean 54 args: #( )>! 55 56sdlHasMMXExt 57 <cCall: 'SDL_HasMMXExt' returning: #boolean 58 args: #( )>! 59 60sdlHas3DNow 61 <cCall: 'SDL_Has3DNow' returning: #boolean 62 args: #( )>! 63 64sdlHas3DNowExt 65 <cCall: 'SDL_Has3DNowExt' returning: #boolean 66 args: #( )>! 67 68sdlHasSSE 69 <cCall: 'SDL_HasSSE' returning: #boolean 70 args: #( )>! 71 72sdlHasSSE2 73 <cCall: 'SDL_HasSSE2' returning: #boolean 74 args: #( )>! 75 76sdlHasAltiVec 77 <cCall: 'SDL_HasAltiVec' returning: #boolean 78 args: #( )>! ! 79