mirror of
https://github.com/SideStore/SideStore.git
synced 2026-02-16 02:03:32 +01:00
refactor-changes-wip-sidestore-deps
This commit is contained in:
18
SideStore/EmotionalDamage/EmotionalDamage.swift
Normal file
18
SideStore/EmotionalDamage/EmotionalDamage.swift
Normal file
@@ -0,0 +1,18 @@
|
||||
//
|
||||
// EmotionalDamage.swift
|
||||
// EmotionalDamage
|
||||
//
|
||||
// Created by Jackson Coxson on 10/26/22.
|
||||
//
|
||||
|
||||
import Foundation
|
||||
|
||||
public func start_em_proxy(bind_addr: String) {
|
||||
let host = NSString(string: bind_addr)
|
||||
let host_pointer = UnsafeMutablePointer<CChar>(mutating: host.utf8String)
|
||||
let _ = start_emotional_damage(host_pointer)
|
||||
}
|
||||
|
||||
public func stop_em_proxy() {
|
||||
stop_emotional_damage()
|
||||
}
|
||||
Reference in New Issue
Block a user