Commit d69b5e60 authored by Antoine Cellerier's avatar Antoine Cellerier

Use pushliteral instead of pushstring where possible. Saves a strlen call.

parent 41bf4c46
...@@ -99,7 +99,7 @@ static int vlclua_copyright( lua_State *L ) ...@@ -99,7 +99,7 @@ static int vlclua_copyright( lua_State *L )
*****************************************************************************/ *****************************************************************************/
static int vlclua_license( lua_State *L ) static int vlclua_license( lua_State *L )
{ {
lua_pushstring( L, LICENSE_MSG ); lua_pushliteral( L, LICENSE_MSG );
return 1; return 1;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment