This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wrap-file] | |
directory = lzmasdk | |
[provide] | |
dependency_names = liblzmasdk |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[wrap-file] | |
directory = xz-5.2.5 | |
source_url = http://tukaani.org/xz/xz-5.2.5.tar.xz | |
source_filename = xz-5.2.5.tar.xz | |
source_hash = 3e1e518ffc912f86608a8cb35e4bd41ad1aec210df2a47aaa1f95e7f5576ef56 | |
patch_filename = liblzma_5.2.5-1_patch.zip | |
patch_url = https://wrapdb.mesonbuild.com/v2/liblzma_5.2.5-1/get_patch | |
patch_hash = 2bc85394d8cdb7ec93ddf889cf553a9e08f430a1de3a980f186a5323cdeb7315 | |
[provide] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sources = ['lzma.cpp'] | |
lzmaupp_plugin_dependencies = [ | |
core_dep, | |
dependency('zlib'), | |
dependency('liblzma'), | |
dependency('liblzmasdk') | |
] | |
lzmaupp_plugin_lib = library('lzmaupp', sources: sources, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sources = [ | |
'Object.cpp', | |
'RichImage.cpp', | |
'ParaData.cpp', | |
'ParaType.cpp', | |
'ParaPaint.cpp', | |
'HeaderFooter.cpp', | |
'TxtData.cpp', | |
'TxtPaint.cpp', | |
'TxtOp.cpp', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
project('onionbase85', | |
'cpp', | |
default_options : ['cpp_std=c++2a']) | |
subdir('src') | |
catch2_dep = dependency('catch2', fallback : ['catch2', 'catch2_dep']) | |
test_decoding = executable('testDecoding', ['TestDecoding.cpp'], | |
dependencies : | |
[catch2_dep]) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1. Create a struct to be able to expose some fields | |
struct ScriptEnv { | |
std::shared_ptr<spdlog::logger> gameLog; | |
Guinyote::View::VideoManager * videoManager; | |
RuntimeConfig const * config; | |
std::string orsAddress; | |
}; | |
// Create a C++ instance to pass the data to wren | |
ScriptEnv scriptEnv{ | |
.gameLog = logger_, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Counter { | |
construct new(withValue) { | |
_currentValue = withValue | |
} | |
increment() { | |
_currentValue = _currentValue + 1 | |
} | |
value { _currentValue } | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// C++ side | |
// void f(std::function<void (MyRegisteredClass)> callback); | |
... | |
chai.add(fun(f), "f"); | |
//chaiscript side | |
f([](myObject) { | |
}) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class JsonObject { | |
var contents | |
def JsonObject(string jsonStr) { | |
this.contents = from_json(jsonStr) | |
} | |
def JsonObject(Map contents) { | |
this.contents = contents | |
} | |
NewerOlder