sourcepawn/jit/jit_function.h
author GoD-Tony <aangione@gmail.com>
Sun Aug 04 10:03:40 2013 -0400 (2013-08-04)
changeset 3971 d2e8100b2814
parent 2226 d10b38524be3
child 4013 6201c1180e0e
permissions -rw-r--r--
Added ISDKHooks interface with entity listeners (bug 5602, r=psychonic).
     1 #ifndef _INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_
     2 #define _INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_
     3 
     4 #include <sp_vm_types.h>
     5 
     6 class JitFunction
     7 {
     8 public:
     9 	JitFunction(void *entry_addr, cell_t pcode_offs);
    10 	~JitFunction();
    11 public:
    12 	void *GetEntryAddress();
    13 	cell_t GetPCodeAddress();
    14 private:
    15 	void *m_pEntryAddr;
    16 	cell_t m_PcodeOffs;
    17 };
    18 
    19 #endif //_INCLUDE_SOURCEPAWN_JIT2_FUNCTION_H_