Searched refs:mp_buf (Results 1 – 1 of 1) sorted by relevance
93 typedef struct mp_buf { struct96 } mp_buf; typedef107 mp_buf *mp_buf_new(lua_State *L) { in mp_buf_new()108 mp_buf *buf = NULL; in mp_buf_new()111 buf = (mp_buf*)mp_realloc(L, NULL, 0, sizeof(*buf)); in mp_buf_new()130 void mp_buf_free(lua_State *L, mp_buf *buf) { in mp_buf_free()341 void mp_encode_lua_string(lua_State *L, mp_buf *buf) { in mp_encode_lua_string()349 void mp_encode_lua_bool(lua_State *L, mp_buf *buf) { in mp_encode_lua_bool()367 void mp_encode_lua_number(lua_State *L, mp_buf *buf) { in mp_encode_lua_number()475 void mp_encode_lua_null(lua_State *L, mp_buf *buf) { in mp_encode_lua_null()[all …]