Skip to content

Commit a65f88b

Browse files
att
1 parent 57fdd01 commit a65f88b

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Prerequisites
22
*.d
3+
.vscode
34
LuaSilverChain
45
teste.lua
56
.cache

build/install_dependencies.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ function Install_dependencies()
33
os.execute("mkdir -p dependencies")
44

55
local libs = {
6-
{url="https://github.com/OUIsolutions/LuaCEmbed/releases/download/v0.779/LuaCEmbed.h",path="dependencies/LuaCEmbed.h"},
6+
{url="https://github.com/OUIsolutions/LuaCEmbed/releases/download/0.8.3/LuaCEmbedOne.c",path="dependencies/LuaCEmbedOne.c"},
77
{url="https://github.com/OUIsolutions/SilverChain/releases/download/0.2.1/SilverChainApiNoDependenciesIncluded.h",path="dependencies/CSilverChainApiNoDependenciesIncluded.h"},
88
{url="https://github.com/OUIsolutions/CTextEngine/releases/download/v2.002/CTextEngine.h",path="dependencies/CTextEngine.h"},
99
{url="https://github.com/OUIsolutions/DoTheWorld/releases/download/v8.002/doTheWorld.h",path="dependencies/doTheWorld.h"},

citerop.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
1-
#include "dependencies/LuaCEmbed.h"
1+
2+
#define error LuaSilverCHainError
3+
#include "dependencies/LuaCEmbedOne.c"
4+
#undef error
25
#include "dependencies/doTheWorld.h"
36
#include "dependencies/CTextEngine.h"
47
#include "dependencies/CSilverChainApiNoDependenciesIncluded.h"

0 commit comments

Comments
 (0)