mirror of
https://github.com/scp-fs2open/fs2open.github.com.git
synced 2026-11-08 07:28:22 -10:00
This adds a utility library for handling all the nasty lua referencing stuff. It also provides functions for convienent usage of lua objects such as tables and functions which allows to use them directly from C++ code without using the ugly Lua C-API.
20 lines
261 B
C
20 lines
261 B
C
|
|
#ifndef LUA_HEADERS_H
|
|
#define LUA_HEADERS_H
|
|
#pragma once
|
|
|
|
/**
|
|
* @file LuaHeaders.hpp
|
|
*
|
|
* Contains the lua headers wrapped in an @c exteren @c "C" block.
|
|
*/
|
|
|
|
extern "C"
|
|
{
|
|
#include <lua.h>
|
|
#include <lauxlib.h>
|
|
#include <lualib.h>
|
|
}
|
|
|
|
#endif // LUA_HEADERS_H
|