axmol/tools/bindings-generator/targets/lua/templates/layout_head.h

16 lines
280 B
C

\#include "base/Config.h"
#if $macro_judgement
$macro_judgement
#end if
\#ifndef __${prefix}_h__
\#define __${prefix}_h__
#if $hpp_headers
#for header in $hpp_headers
\#include "${header}"
#end for
#end if
\#include "tolua++.h"
int register_all_${prefix}(lua_State* tolua_S);