| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-05-12 13:17:25 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2025-05-12 13:36:16 UTC |
| parent | 021fcea7c45c692937c90351889fd4de7e2d2e76 |
| HaxeSwiftBridge.hx | +2 | -2 |
diff --git a/HaxeSwiftBridge.hx b/HaxeSwiftBridge.hx index a0943c6..257f488 100644 --- a/HaxeSwiftBridge.hx +++ b/HaxeSwiftBridge.hx @@ -654,11 +654,11 @@ class HaxeSwiftBridge { return code(' import c_' + libName + ' - func setup(_ handler: @convention(c) @escaping (UnsafePointer<CChar>?)->Void) { + public func setup(_ handler: @convention(c) @escaping (UnsafePointer<CChar>?)->Void) { c_' + libName + '.' + libName + '_setup(handler) } - func stop(_ wait: Bool) { + public func stop(_ wait: Bool) { c_' + libName + '.' + libName + '_stop(wait) }