Tao.Lua SDK Documentation

Lua.lua_pushstring Method 

Pushes the zero-terminated string pointed to by s onto the stack. Lua makes (or reuses) an internal copy of the given string, so the memory at s can be freed or reused immediately after the function returns. The string cannot contain embedded zeros; it is assumed to end at the first zero.

[Visual Basic]
Public Shared Sub lua_pushstring( _
   ByVal L As IntPtr, _
   ByVal s As String _
)
[C#]
public static void lua_pushstring(
   IntPtr L,
   string s
);

Parameters

L
s

See Also

Lua Class | Tao.Lua Namespace