forked from LeenkxTeam/LNXSDK
Update Files
This commit is contained in:
20
Kha/Backends/Kinc-hxcpp/khacpp/test/cffi/src/Loader.hx
Normal file
20
Kha/Backends/Kinc-hxcpp/khacpp/test/cffi/src/Loader.hx
Normal file
@ -0,0 +1,20 @@
|
||||
#if macro
|
||||
import haxe.macro.Expr;
|
||||
#end
|
||||
|
||||
|
||||
class Loader
|
||||
{
|
||||
#if cpp
|
||||
public static function __init__()
|
||||
{
|
||||
cpp.Lib.pushDllSearchPath( "project/ndll/" + cpp.Lib.getBinDirectory() );
|
||||
}
|
||||
#end
|
||||
|
||||
public static inline macro function load(inName2:Expr, inSig:Expr)
|
||||
{
|
||||
return macro cpp.Prime.load("prime", $inName2, $inSig, false);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user