File: lua_ref_helper.h

package info (click to toggle)
lcm 1.3.1%2Brepack1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,784 kB
  • sloc: ansic: 16,184; java: 6,843; cs: 2,266; cpp: 1,594; python: 989; makefile: 348; xml: 252; sh: 62
file content (16 lines) | stat: -rw-r--r-- 297 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef TPRK77_LUA_REF_HELPER_H
#define TPRK77_LUA_REF_HELPER_H

#ifdef __cplusplus
extern "C" {
#endif
#include "lua.h"
#include "lauxlib.h"
#ifdef __cplusplus
}
#endif

LUALIB_API int luaX_ref(lua_State *L, int t, int l);
LUALIB_API void luaX_unref(lua_State *L, int t, int l, int ref);

#endif