remove link_prefixes

This commit is contained in:
2024-05-13 16:04:23 +02:00
parent 8a5e2870f6
commit 205e9a4c64
78 changed files with 1447 additions and 1568 deletions
+16 -17
View File
@@ -4,27 +4,26 @@ import "core:c"
foreign import netctl "system:SceNetCtl_stub"
@(link_prefix = "SceNetCtl")
foreign netctl {
Init :: proc() -> c.int ---
Term :: proc() ---
sceNetCtlInit :: proc() -> c.int ---
sceNetCtlTerm :: proc() ---
CheckCallback :: proc() -> c.int ---
sceNetCtlCheckCallback :: proc() -> c.int ---
InetGetResult :: proc(eventType: c.int, errorCode: ^c.int) -> c.int ---
AdhocGetResult :: proc(eventType: c.int, errorCode: ^c.int) -> c.int ---
sceNetCtlInetGetResult :: proc(eventType: c.int, errorCode: ^c.int) -> c.int ---
sceNetCtlAdhocGetResult :: proc(eventType: c.int, errorCode: ^c.int) -> c.int ---
InetGetInfo :: proc(code: c.int, info: ^SceNetCtlInfo) -> c.int ---
InetGetState :: proc(state: ^c.int) -> c.int ---
GetNatInfo :: proc(natinfo: ^SceNetCtlNatInfo) -> c.int ---
sceNetCtlInetGetInfo :: proc(code: c.int, info: ^SceNetCtlInfo) -> c.int ---
sceNetCtlInetGetState :: proc(state: ^c.int) -> c.int ---
sceNetCtlGetNatInfo :: proc(natinfo: ^SceNetCtlNatInfo) -> c.int ---
InetRegisterCallback :: proc(func: SceNetCtlCallback, arg: rawptr, cid: ^c.int) -> c.int ---
InetUnregisterCallback :: proc(cid: c.int) -> c.int ---
sceNetCtlInetRegisterCallback :: proc(func: SceNetCtlCallback, arg: rawptr, cid: ^c.int) -> c.int ---
sceNetCtlInetUnregisterCallback :: proc(cid: c.int) -> c.int ---
AdhocRegisterCallback :: proc(func: SceNetCtlCallback, arg: rawptr, cid: ^c.int) -> c.int ---
AdhocUnregisterCallback :: proc(cid: c.int) -> c.int ---
AdhocGetState :: proc(state: ^c.int) -> c.int ---
AdhocDisconnect :: proc() -> c.int ---
AdhocGetPeerList :: proc(buflen: ^c.uint, buf: rawptr) -> c.int ---
AdhocGetInAddr :: proc(inaddr: ^SceNetInAddr) -> c.int ---
sceNetCtlAdhocRegisterCallback :: proc(func: SceNetCtlCallback, arg: rawptr, cid: ^c.int) -> c.int ---
sceNetCtlAdhocUnregisterCallback :: proc(cid: c.int) -> c.int ---
sceNetCtlAdhocGetState :: proc(state: ^c.int) -> c.int ---
sceNetCtlAdhocDisconnect :: proc() -> c.int ---
sceNetCtlAdhocGetPeerList :: proc(buflen: ^c.uint, buf: rawptr) -> c.int ---
sceNetCtlAdhocGetInAddr :: proc(inaddr: ^SceNetInAddr) -> c.int ---
}