Procedure for obsoleting Lua Functions
#3
Usually we try to keep stuff as-is by providing manual bindings, and putting a LOGWARN in them saying that the function is obsolete and to use XYZ as replacement. Of course that's the best case scenario Smile

Putting an OBSOLETE modifier in front of function doesn't work so well for Lua, because it doesn't inform plugins that they're using obsolete stuff, but it creates warnings when compiling the MCS executable. The OBSOLETE modifier is meant for internal C++ code, not for API.
Reply
Thanks given by:


Messages In This Thread
RE: Procedure for obsoleting Lua Functions - by xoft - 01-21-2014, 05:07 PM



Users browsing this thread: 2 Guest(s)