We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 24fdd24 commit c151b90Copy full SHA for c151b90
em_proxy.swift
@@ -0,0 +1,20 @@
1
+//
2
+// em_proxy.swift
3
+// SideStore
4
5
+// Created by Jackson Coxson on 10/26/22.
6
7
+// bridge for em_proxy static lib similar to minimuxer.swift
8
9
+
10
+import Foundation
11
12
+public func start_em_proxy(bind_addr: String) {
13
+ let host = NSString(string: bind_addr)
14
+ let host_pointer = UnsafeMutablePointer<CChar>(mutating: host.utf8String)
15
+ let _ = start_emotional_damage(host_pointer)
16
+}
17
18
+public func stop_em_proxy() {
19
+ stop_emotional_damage()
20
0 commit comments