C++の場合extern "C"が必須。こうしないとリンクエラーになる。
extern "C" {
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
}
C++の場合extern "C"が必須。こうしないとリンクエラーになる。
extern "C" {
#include "lua.h"
#include "lualib.h"
#include "lauxlib.h"
}