mirror of
https://github.com/love2d/love.git
synced 2026-08-16 08:11:02 +02:00
Use different output messages for deprecated methods versus functions.
--HG-- branch : minor
This commit is contained in:
@@ -452,8 +452,8 @@ lua_State *luax_getpinnedthread(lua_State *L);
|
||||
* Mark a function as deprecated. Should only be called inside wrapper function
|
||||
* code.
|
||||
**/
|
||||
void luax_markdeprecated(lua_State *L, const char *name);
|
||||
void luax_markdeprecated(lua_State *L, const char *name, DeprecationType type, const char *replacement);
|
||||
void luax_markdeprecated(lua_State *L, const char *name, APIType api);
|
||||
void luax_markdeprecated(lua_State *L, const char *name, APIType api, DeprecationType type, const char *replacement);
|
||||
|
||||
extern "C" { // Also called from luasocket
|
||||
int luax_typerror(lua_State *L, int narg, const char *tname);
|
||||
|
||||
Reference in New Issue
Block a user