5 #ifndef _INC_cJSXClass_H
6 #define _INC_cJSXClass_H
19 static const size_t k_JSX_STACK_CHUNK_SIZE = 8*1024;
21 #ifdef USE_JS_CUSTOM_THUNK
55 #ifdef USE_JS_CUSTOM_THUNK
56 CJSXThunk* m_pFunctionThunks;
59 static const JSClass sm_global_class;
68 #ifdef USE_JS_CUSTOM_THUNK
69 bool InitThunkTable();
70 void DeleteThunkTable();
94 return m_pInterfaceDef;
#define CATTR_PACKED
Definition: GrayCore.h:87
#define IS_INDEX_BAD(i, q)
cast the (likely) int to unsigned to check for negatives.
Definition: Index.h:34
Definition: cJSObject.h:56
Definition: cJSObject.h:47
Definition: cJSXClass.h:35
virtual ~cJSXClass()
Definition: cJSXClass.cpp:52
cString get_Name() const
Definition: cJSXClass.cpp:297
cJSObject * GetJSObjProto(cJSContext *pjsCx)
Definition: cJSXClass.cpp:303
cJSXClass(const cScriptableInterfaceDef *pInterfaceDef)
Definition: cJSXClass.cpp:33
cNewPtr< JSPropertySpec > m_ajsProps
array of props. NOT exactly Equiv to m_aPropsAll
Definition: cJSXClass.h:42
JSClass * get_JSClass() const
Definition: cJSXClass.h:87
const cScriptableInterfaceDef * get_InterfaceDef() const
Definition: cJSXClass.h:92
const cScriptableProp * GetPropPtr(int i) const
Definition: cJSXClass.h:96
SCRIPTINTERFACEID_t get_HashCode() const noexcept
Definition: cJSXClass.h:81
cNewPtr< JSFunctionSpec > m_ajsFunctions
NOT exactly Equiv to m_aMethodsAll.
Definition: cJSXClass.h:43
Definition: cScriptableInterface.h:300
SCRIPTINTERFACEID_t get_InterfaceID() const noexcept
Definition: cScriptableInterface.h:371
Definition: cScriptableInterface.h:97
Definition: cJSObject.h:36
cJSXClass * cJSXClassPtr
Definition: cJSXClass.h:105
class __DECL_IMPORT cScriptableInterfaceDef
Definition: cScriptableEventsMask.h:31
BYTE SCRIPTINTERFACEID_t
enumerate all the defined interface definitions.
Definition: cScriptableInterface.h:35