-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|556|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Snippet Home -> Misc


 
Cower
Created : 31 January 2010
 
System : Cross Platform
Language : Blitz Max

Lua State Wrapper

Object-oriented wrapper around Lua states

This is a fairly simple OO wrapper around the Lua API (not including the debugging API, and most of the auxiliary API is ignored). In most situations, names are the same or similar to the equivalent lua_* function.

There are Load* methods provided that will load a string, buffer, or URL as a function. No complementary Do(...) methods are provided, as you can simply call Load(...).Call() through the hacked method chaining (by returning Self for most methods).


 

Comments