lua.h File Reference


Detailed Description

Basic OSKI-Lua support routines.

#include <oski/common.h>
#include <oski/mangle.h>
#include <oski/matcommon.h>

Go to the source code of this file.

Data Structures

struct  oski_matlua_t
 OSKI-Lua userdata structure, wrapper around a generic matrix type. More...

Name mangling.

#define oski_matlua_t   MANGLE_(oski_matlua_t)
#define oski_PushEmptyLuaMat   MANGLE_(oski_PushEmptyLuaMat)
#define oski_GetStackLuaMat   MANGLE_(oski_GetStackLuaMat)

Defines

#define INC_OSKI_LUA_H
 oski/lua.h included.
#define OLUA_NEWUSERDATA(L, typ)   (typ *)lua_newuserdata(L, sizeof(typ))
 Macro wrapper around lua_newuserdata().
#define OLUA_MATTAB   "OskiLua.Mat"
 Name of OSKI-Lua matrix type metatable.
#define OLUA_MAT   "Mat"
 Name of OSKI-Lua matrix type.
#define OLUA_INMAT   "InputMat"
 Name of OSKI-Lua global variable to store input matrix.

Typedefs

typedef lua_State lua_State

Functions

oski_matlua_toski_PushEmptyLuaMat (lua_State *L)
 Executes a OSKI-Lua call to OLUA_MAT.new(), and leaves the result on the stack.
oski_matlua_toski_GetStackLuaMat (lua_State *L, int stack_pos)
 Examines the item at the specified position on the stack, and returns the object there if it is a OLUA_MAT object, or returns NULL otherwise.


Generated on Wed Sep 19 16:41:22 2007 for BeBOP Optimized Sparse Kernel Interface Library by  doxygen 1.4.6