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

Comparing Daodan/src/BFW_ScriptLang.h (file contents):
Revision 474 by rossy, Fri Oct 30 08:52:50 2009 UTC vs.
Revision 677 by alloc, Sat Mar 2 23:46:33 2013 UTC

# Line 4 | Line 4
4  
5   #include "Daodan.h"
6  
7 < #include <stdint.h>
8 < #include <stdbool.h>
7 > //#include <stdint.h>
8 > #include "bool.h"
9  
10   typedef enum {
11          sl_int32,
# Line 32 | Line 32 | typedef struct {
32          int      linenumber;   //perhaps
33   } sl_callinfo;
34  
35 typedef uint16_t (ONICALL *sl_func)(sl_callinfo* callinfo, uint32_t numargs, sl_arg args[], int* dontuse1, int* 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);
39 < uint16_t ONICALL SLrGlobalVariable_Register_Int32(char* name, char* desc, int32_t* data);
40 < uint16_t ONICALL SLrGlobalVariable_Register_Float(char* name, char* desc, float* data);
41 < uint16_t ONICALL SLrGlobalVariable_Register_Bool(char* name, char* desc, uint32_t* data);
42 < uint16_t ONICALL SLrGlobalVariable_Register_String(char* name, char* desc, char* data);
36 >
37 >
38  
39   #endif

Diff Legend

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