?login_element?

Subversion Repositories NedoOS

Rev

Blame | Last modification | View Log | Download

  1. //  https://github.com/vinniefalco/LuaBridge
  2. // Copyright 2022, Dmitry Tarakanov
  3. // Copyright 2012, Vinnie Falco <vinnie.falco@gmail.com>
  4. // SPDX-License-Identifier: MIT
  5.  
  6. #pragma once
  7.  
  8. // This determines which version of Lua to use.
  9. // The value is the same as LUA_VERSION_NUM in lua.h
  10.  
  11. #if LUABRIDGE_TEST_LUA_VERSION <= 501
  12.  
  13. extern "C" {
  14. #include "lauxlib.h"
  15. #include "lua.h"
  16. #include "lualib.h"
  17. }
  18.  
  19. #elif LUABRIDGE_TEST_LUA_VERSION <= 504
  20.  
  21. #include "lua.hpp"
  22.  
  23. #else
  24.  
  25. #error "LUABRIDGE_TEST_LUA_VERSION is not defined"
  26.  
  27. #endif
  28.