Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
l_http.cpp File Reference
#include "lua_api/l_internal.h"
#include "common/c_converter.h"
#include "common/c_content.h"
#include "lua_api/l_http.h"
#include "cpp_api/s_security.h"
#include "httpfetch.h"
#include "settings.h"
#include "debug.h"
#include "log.h"
#include <iomanip>
+ Include dependency graph for l_http.cpp:

Macros

#define HTTP_API(name)
 

Macro Definition Documentation

◆ HTTP_API

#define HTTP_API ( name)
Value:
lua_pushstring(L, #name); \
lua_pushcfunction(L, l_http_##name); \
lua_settable(L, -3);

Referenced by ModApiHttp::l_get_http_api(), and ModApiHttp::l_request_http_api().