ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/BFW_ScriptingLanguage.h
(Generate patch)

Comparing Daodan/src/BFW_ScriptingLanguage.h (file contents):
Revision 440 by rossy, Fri Jul 17 09:44:17 2009 UTC vs.
Revision 444 by rossy, Sat Jul 18 09:38:22 2009 UTC

# Line 26 | Line 26 | typedef struct {
26          };
27   } sl_arg;
28  
29 < typedef uint16_t (ONICALL *sl_func)(void* dontuse0, uint32_t numargs, sl_arg args[], void* dontuse1, void* dontuse2, sl_arg* ret);
29 > typedef struct {
30 >        char*    name;
31 >        char*    calllocation; //maybe
32 > } sl_callinfo;
33 >
34 > typedef uint16_t (ONICALL *sl_func)(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], void* dontuse1, void* dontuse2, sl_arg* ret);
35  
36   uint16_t ONICALL SLrScript_Command_Register_ReturnType(char* name, char* desc, char* argfmt, sl_type type, sl_func callback);
37   uint16_t ONICALL SLrScript_Command_Register_Void(char* name, char* desc, char* argfmt, sl_func callback);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)