lua_pushcclosure
lua_pushcclosure(L, l->func, nup); /* closure with those upvalues */
lua_pushcclosure(L, luaB_auxwrap, 1);
lua_pushcclosure(L, gmatch_aux, 3);
LUA_API void (lua_pushcclosure) (lua_State *L, lua_CFunction fn, int n);
#define lua_pushcfunction(L,f) lua_pushcclosure(L, (f), 0)
lua_pushcclosure(state, zcp_debug_info.func, 0);
lua_pushcclosure(state, zcp_exists_info.func, 0);
lua_pushcclosure(state, zcp_get_prop_info.func, 0);
lua_pushcclosure(state, &zcp_clones_iter, 2);
lua_pushcclosure(state, &zcp_snapshots_iter, 2);
lua_pushcclosure(state, &zcp_children_iter, 2);
lua_pushcclosure(state, &zcp_props_iter, 2);
lua_pushcclosure(state, &zcp_list_func, 1);
lua_pushcclosure(state, &zcp_synctask_wrapper, 2);