1.1 --- a/public/sourcepawn/sp_vm_types.h Mon Mar 12 00:07:54 2007 +0000
1.2 +++ b/public/sourcepawn/sp_vm_types.h Mon Mar 12 07:08:05 2007 +0000
1.3 @@ -136,6 +136,12 @@
1.4 */
1.5 typedef cell_t (*SPVM_NATIVE_FUNC)(SourcePawn::IPluginContext *, const cell_t *);
1.6
1.7 +/**
1.8 + * @brief Fake native callback prototype, passed a context, parameter stack, and private data.
1.9 + * A cell must be returned.
1.10 + */
1.11 +typedef cell_t (*SPVM_FAKENATIVE_FUNC)(SourcePawn::IPluginContext *, const cell_t *, void *);
1.12 +
1.13 /**********************************************
1.14 *** The following structures are bound to the VM/JIT.
1.15 *** Changing them will result in necessary recompilation.