[Overview][Types][Classes][Procedures and functions] |
Source position: plua.pas line 19
procedure plua_pushstring( |
L: Plua_State; |
AString: AnsiString |
); |
L |
|
PLua_State to work with. |
AString |
|
AnsiString to be placed onto the Lua stack. |
Pushes the null-terminated AnsiString specified in AString onto the stack. Lua makes (or reuses) an internal copy of the given string, so the memory at AString can be freed or reused immediately after the function returns. The string cannot contain embedded NULL's; as the string is assumed to end at the first null or #0.
|