Create swift package

This commit is contained in:
Joe Mattiello
2023-03-01 00:48:36 -05:00
parent 4669227567
commit 493b3783f0
409 changed files with 13707 additions and 16923 deletions

View File

@@ -0,0 +1,19 @@
//
// EmotionalDamage.swift
// EmotionalDamage
//
// Created by Jackson Coxson on 10/26/22.
//
import Foundation
import em_proxy
public func start_em_proxy(bind_addr: String) {
let host = NSString(string: bind_addr)
let host_pointer = UnsafeMutablePointer<CChar>(mutating: host.utf8String)
_ = start_emotional_damage(host_pointer)
}
public func stop_em_proxy() {
stop_emotional_damage()
}