diff options
| author | Dale Weiler <weilercdale@gmail.com> | 2021-10-23 13:09:54 -0400 |
|---|---|---|
| committer | Dale Weiler <weilercdale@gmail.com> | 2021-10-23 13:09:54 -0400 |
| commit | 357d085ffbe16725463cd22dcf9f0fc12513c2c8 (patch) | |
| tree | c588864e33795965f188c7626add34a8ecd7210a | |
| parent | a074c367fff1e2839dc6413b53b1ad0c99620337 (diff) | |
use multi pointer here, cstring was incorrect
| -rw-r--r-- | vendor/ENet/enet.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/ENet/enet.odin b/vendor/ENet/enet.odin index 2446dc816..d71538800 100644 --- a/vendor/ENet/enet.odin +++ b/vendor/ENet/enet.odin @@ -354,8 +354,8 @@ foreign ENet { address_set_host_ip :: proc(address: ^Address, hostName: cstring) -> i32 --- address_set_host :: proc(address: ^Address, hostName: cstring) -> i32 --- - address_get_host_ip :: proc(address: ^Address, hostName: cstring, nameLength: uint) -> i32 --- - address_get_host :: proc(address: ^Address, hostName: cstring, nameLength: uint) -> i32 --- + address_get_host_ip :: proc(address: ^Address, hostName: [^]u8, nameLength: uint) -> i32 --- + address_get_host :: proc(address: ^Address, hostName: [^]u8, nameLength: uint) -> i32 --- packet_create :: proc(rawptr, uint, u32) -> ^Packet --- packet_destroy :: proc(^Packet) --- |