equal
deleted
inserted
replaced
43 |
43 |
44 /** |
44 /** |
45 * Adds a function to the stack. Depending on the current state this means |
45 * Adds a function to the stack. Depending on the current state this means |
46 * either a method or a global function. |
46 * either a method or a global function. |
47 */ |
47 */ |
48 void AddMethod(const char *method_name, SQFUNCTION proc, uint nparam, const char *params); |
48 void AddMethod(const char *method_name, SQFUNCTION proc, uint nparam = 0, const char *params = NULL, void *userdata = NULL, int size = 0); |
49 void AddMethod(const char *method_name, SQFUNCTION proc); |
|
50 void AddMethod(const char *method_name, SQFUNCTION proc, void *userdata, int size); |
|
51 |
49 |
52 /** |
50 /** |
53 * Adds a const to the stack. Depending on the current state this means |
51 * Adds a const to the stack. Depending on the current state this means |
54 * either a const to a class or to the global space. |
52 * either a const to a class or to the global space. |
55 */ |
53 */ |