lua.cfg: Add more lua_push*() function configurations

This commit is contained in:
versat 2019-09-05 14:43:35 +02:00
parent 9b9e9a4cf4
commit e7ea748805
1 changed files with 93 additions and 0 deletions

View File

@ -71,6 +71,68 @@
<valid>1:</valid>
</arg>
</function>
<!-- void lua_pushboolean (lua_State *L, int b); -->
<function name="lua_pushboolean">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1"/>
<arg nr="2" direction="in">
<not-uninit/>
</arg>
</function>
<!-- const char *lua_pushfstring (lua_State *L, const char *fmt, ...); -->
<function name="lua_pushfstring">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<arg nr="1"/>
<formatstr/>
<arg nr="2" direction="in">
<not-uninit/>
<formatstr/>
</arg>
</function>
<!-- void lua_pushglobaltable (lua_State *L); -->
<function name="lua_pushglobaltable">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1"/>
</function>
<!-- void lua_pushinteger (lua_State *L, lua_Integer n); -->
<function name="lua_pushinteger">
<noreturn>false</noreturn>
<returnValue type="void"/>
<arg nr="1"/>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- const char *lua_pushliteral (lua_State *L, const char *s); -->
<function name="lua_pushliteral">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<arg nr="1"/>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
<strz/>
</arg>
</function>
<!-- const char *lua_pushlstring (lua_State *L, const char *s, size_t len); -->
<function name="lua_pushlstring">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<arg nr="1"/>
<arg nr="2" direction="in">
<not-uninit/>
<minsize type="argvalue" arg="3"/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
<not-bool/>
<valid>0:</valid>
</arg>
</function>
<!-- void lua_pushnil (lua_State *L); -->
<function name="lua_pushnil">
<noreturn>false</noreturn>
@ -86,6 +148,23 @@
<not-uninit/>
</arg>
</function>
<!-- const char *lua_pushstring (lua_State *L, const char *s); -->
<function name="lua_pushstring">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<arg nr="1"/>
<arg nr="2" direction="in">
<not-uninit/>
<not-bool/>
<strz/>
</arg>
</function>
<!-- int lua_pushthread (lua_State *L); -->
<function name="lua_pushthread">
<noreturn>false</noreturn>
<returnValue type="int"/>
<arg nr="1"/>
</function>
<!-- void lua_pushvalue (lua_State *L, int index); -->
<function name="lua_pushvalue">
<noreturn>false</noreturn>
@ -95,6 +174,20 @@
<not-uninit/>
</arg>
</function>
<!-- const char *lua_pushvfstring (lua_State *L, const char *fmt, va_list argp); -->
<function name="lua_pushvfstring">
<noreturn>false</noreturn>
<returnValue type="const char *"/>
<arg nr="1"/>
<arg nr="2" direction="in">
<not-uninit/>
<formatstr/>
</arg>
<arg nr="3" direction="in">
<not-uninit/>
<not-bool/>
</arg>
</function>
<!-- const char *lua_tolstring (lua_State *L, int index, size_t *len); -->
<function name="lua_tolstring">
<noreturn>false</noreturn>