summaryrefslogtreecommitdiff
path: root/fxjs/fxjse.h
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/fxjse.h')
-rw-r--r--fxjs/fxjse.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/fxjs/fxjse.h b/fxjs/fxjse.h
index 48648130ab..9a38d20ddf 100644
--- a/fxjs/fxjse.h
+++ b/fxjs/fxjse.h
@@ -39,8 +39,6 @@ typedef void (*FXJSE_PropAccessor)(CFXJSE_Value* pObject,
typedef int32_t (*FXJSE_PropTypeGetter)(CFXJSE_Value* pObject,
const ByteStringView& szPropName,
bool bQueryIn);
-typedef bool (*FXJSE_PropDeleter)(CFXJSE_Value* pObject,
- const ByteStringView& szPropName);
enum FXJSE_ClassPropTypes {
FXJSE_ClassPropType_None,
@@ -53,32 +51,19 @@ struct FXJSE_FUNCTION_DESCRIPTOR {
FXJSE_FuncCallback callbackProc;
};
-struct FXJSE_PROPERTY_DESCRIPTOR {
- const char* name;
- FXJSE_PropAccessor getProc;
- FXJSE_PropAccessor setProc;
-};
-
struct FXJSE_CLASS_DESCRIPTOR {
const char* name;
- FXJSE_FuncCallback constructor;
- const FXJSE_PROPERTY_DESCRIPTOR* properties;
const FXJSE_FUNCTION_DESCRIPTOR* methods;
- int32_t propNum;
int32_t methNum;
FXJSE_PropTypeGetter dynPropTypeGetter;
FXJSE_PropAccessor dynPropGetter;
FXJSE_PropAccessor dynPropSetter;
- FXJSE_PropDeleter dynPropDeleter;
FXJSE_FuncCallback dynMethodCall;
};
void FXJSE_Initialize();
void FXJSE_Finalize();
-v8::Isolate* FXJSE_Runtime_Create_Own();
-void FXJSE_Runtime_Release(v8::Isolate* pIsolate);
-
void FXJSE_ThrowMessage(const ByteStringView& utf8Message);
#endif // FXJS_FXJSE_H_