Skip to content

Instantly share code, notes, and snippets.

@zhaoyao
Created October 27, 2012 20:05
Show Gist options
  • Save zhaoyao/3965951 to your computer and use it in GitHub Desktop.
Save zhaoyao/3965951 to your computer and use it in GitHub Desktop.
lua string
lua_pushstring与lua_pushlstring
push的string会被memcpy到lua malloc出来的TString中去,会产生一次memcpy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment