mirror of
https://github.com/ccxvii/mujs.git
synced 2026-02-06 01:41:37 +08:00
Tweak argument order in js_is/touserdata.
This commit is contained in:
4
mujs.h
4
mujs.h
@@ -137,12 +137,12 @@ int js_isobject(js_State *J, int idx);
|
||||
int js_isarray(js_State *J, int idx);
|
||||
int js_isregexp(js_State *J, int idx);
|
||||
int js_iscallable(js_State *J, int idx);
|
||||
int js_isuserdata(js_State *J, const char *tag, int idx);
|
||||
int js_isuserdata(js_State *J, int idx, const char *tag);
|
||||
|
||||
int js_toboolean(js_State *J, int idx);
|
||||
double js_tonumber(js_State *J, int idx);
|
||||
const char *js_tostring(js_State *J, int idx);
|
||||
void *js_touserdata(js_State *J, const char *tag, int idx);
|
||||
void *js_touserdata(js_State *J, int idx, const char *tag);
|
||||
|
||||
double js_tointeger(js_State *J, int idx);
|
||||
int js_toint32(js_State *J, int idx);
|
||||
|
||||
Reference in New Issue
Block a user