42 #include "as_memory.h" 58 int CallSystemFunction(
int id,
asCContext *context);
60 inline asPWORD FuncPtrToUInt(asFUNCTION_t func) {
72 enum internalCallConv {
74 ICC_GENERIC_FUNC_RETURNINMEM,
76 ICC_CDECL_RETURNINMEM,
78 ICC_STDCALL_RETURNINMEM,
80 ICC_THISCALL_RETURNINMEM,
82 ICC_VIRTUAL_THISCALL_RETURNINMEM,
84 ICC_CDECL_OBJLAST_RETURNINMEM,
86 ICC_CDECL_OBJFIRST_RETURNINMEM,
88 ICC_GENERIC_METHOD_RETURNINMEM,
90 ICC_THISCALL_OBJLAST_RETURNINMEM,
91 ICC_VIRTUAL_THISCALL_OBJLAST,
92 ICC_VIRTUAL_THISCALL_OBJLAST_RETURNINMEM,
93 ICC_THISCALL_OBJFIRST,
94 ICC_THISCALL_OBJFIRST_RETURNINMEM,
95 ICC_VIRTUAL_THISCALL_OBJFIRST,
96 ICC_VIRTUAL_THISCALL_OBJFIRST_RETURNINMEM
102 internalCallConv callConv;
103 bool hostReturnInMemory;
104 bool hostReturnFloat;
109 bool returnAutoHandle;
111 bool isCompositeIndirect;
132 callConv = ICC_GENERIC_FUNC;
133 hostReturnInMemory =
false;
134 hostReturnFloat =
false;
137 takesObjByVal =
false;
138 returnAutoHandle =
false;
140 isCompositeIndirect =
false;
143 paramAutoHandles.SetLength(0);
144 cleanArgs.SetLength(0);
149 baseOffset = in.baseOffset;
150 callConv = in.callConv;
151 hostReturnInMemory = in.hostReturnInMemory;
152 hostReturnFloat = in.hostReturnFloat;
153 hostReturnSize = in.hostReturnSize;
154 paramSize = in.paramSize;
155 takesObjByVal = in.takesObjByVal;
156 returnAutoHandle = in.returnAutoHandle;
157 compositeOffset = in.compositeOffset;
158 isCompositeIndirect = in.isCompositeIndirect;
159 auxiliary = in.auxiliary;
161 cleanArgs = in.cleanArgs;
162 paramAutoHandles = in.paramAutoHandles;
Definition: as_callfunc.h:114
Definition: as_scriptfunction.h:146
Definition: as_objecttype.h:100
Definition: as_callfunc.h:99
Definition: angelscript.h:429
Definition: as_context.h:54
Definition: as_scriptengine.h:64