Squeak
  links to this page:    
View this PageEdit this PageUploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
InterpreterProxy
Last updated at 12:13 am UTC on 17 January 2006
From InterpreterPlugin.h :

typedef struct VirtualMachine {
/* InterpreterProxy methodsFor: 'stack access' */
/* InterpreterProxy methodsFor: 'object access' */
/* InterpreterProxy methodsFor: 'testing' */
/* InterpreterProxy methodsFor: 'converting' */
/* InterpreterProxy methodsFor: 'special objects' */
/* InterpreterProxy methodsFor: 'special classes' */
/* InterpreterProxy methodsFor: 'instance creation' */
/* InterpreterProxy methodsFor: 'other' */
/* InterpreterProxy methodsFor: 'compiler' */
#if VM_PROXY_MINOR 1 /HTML /&* new for proxy 1.2 ☆/ /☆ InterpreterProxy methodsFor: 'BitBlt support' ☆/ -int (*loadBitBltFrom)(int bbOop); -int (*copyBits)(void); -int (*copyBitsFromtoat)(int leftX, int rightX, int yValue); #endif /HTML HTML #if VM_PROXY_MINOR 2 /HTML /&* New for proxy version 1.3 ☆/ -int (*classLargeNegativeInteger)(void); -int (*signed32BitIntegerFor)(int integerValue); -int (*signed32BitValueOf)(int oop); -int (*includesBehaviorThatOf)(int aClass, int aSuperClass); -int (*primitiveMethod) (void); /&* InterpreterProxy methodsFor: 'FFI support' ☆/ -int (*classExternalAddress)(void); -int (*classExternalData)(void); -int (*classExternalFunction)(void); -int (*classExternalLibrary)(void); -int (*classExternalStructure)(void); -int (*ioLoadModuleOfLength)(int modIndex, int modLength); -int (*ioLoadSymbolOfLengthFromModule)(int fnIndex, int fnLength, int handle); -int (*isInMemory)(int address); #endif
#if VM_PROXY_MINOR > 3
/* New for proxy 1.4 */
#endif /HTML HTML #if VM_PROXY_MINOR 4 /HTML /&* New for proxy 1.5 ☆/ /☆ This is clearly a sub-optimal way to check for the ability to handle 64 bit ☆ long long types but it suffices for the moment
*/
#ifdef ACORN
#define squeakInt64 long int
#elif _MSC_VER
#define squeakInt64 __int64
#else
#define squeakInt64 long long
#endif

#ifdef MOB_VM
#endif // MOB_VM #endif //VM_PROXY_MINOR > 4
} VirtualMachine;