diff options
Diffstat (limited to 'core/src/xmake/engine.h')
| -rw-r--r-- | core/src/xmake/engine.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/core/src/xmake/engine.h b/core/src/xmake/engine.h index cc5a533ca..901e3997e 100644 --- a/core/src/xmake/engine.h +++ b/core/src/xmake/engine.h @@ -79,6 +79,14 @@ tb_int_t xm_engine_main(xm_engine_ref_t engine, tb_int_t argc */ tb_void_t xm_engine_register(xm_engine_ref_t engine, tb_char_t const* module, luaL_Reg const funcs[]); +/*! add the embed files + * + * @param name the engine name + * @param data the embedfiles data + * @param size the data size + */ +tb_void_t xm_engine_add_embedfiles(xm_engine_ref_t engine, tb_byte_t const* data, tb_size_t size); + /*! run main entry of the engine singleton * * @param name the engine name |
