diff options
Diffstat (limited to 'nimbluez/msbt')
| -rw-r--r-- | nimbluez/msbt/ms_bluetoothapis.nim | 1 | ||||
| -rw-r--r-- | nimbluez/msbt/ms_bthdef.nim | 1 | ||||
| -rw-r--r-- | nimbluez/msbt/ms_bthsdpdef.nim | 10 | ||||
| -rw-r--r-- | nimbluez/msbt/ms_ws2bth.nim | 1 |
4 files changed, 7 insertions, 6 deletions
diff --git a/nimbluez/msbt/ms_bluetoothapis.nim b/nimbluez/msbt/ms_bluetoothapis.nim index c895128..118cb3d 100644 --- a/nimbluez/msbt/ms_bluetoothapis.nim +++ b/nimbluez/msbt/ms_bluetoothapis.nim @@ -11,7 +11,6 @@ when not defined(windows): const libbluetooth* = "bthprops.cpl" -import winlean import ms_bthdef, ms_bthsdpdef const diff --git a/nimbluez/msbt/ms_bthdef.nim b/nimbluez/msbt/ms_bthdef.nim index 96be91d..548ab73 100644 --- a/nimbluez/msbt/ms_bthdef.nim +++ b/nimbluez/msbt/ms_bthdef.nim @@ -22,7 +22,6 @@ #Revision History: # # -- -import winlean import ms_bthsdpdef template DEFINE_GUID*(name: expr; p1: int32; p2, p3: int16; diff --git a/nimbluez/msbt/ms_bthsdpdef.nim b/nimbluez/msbt/ms_bthsdpdef.nim index 051fc44..d776db4 100644 --- a/nimbluez/msbt/ms_bthsdpdef.nim +++ b/nimbluez/msbt/ms_bthsdpdef.nim @@ -2,7 +2,9 @@ # Copyright (C) Microsoft. All rights reserved. # -import winlean +from winlean import GUID, HANDLE + +export GUID, HANDLE type WCHAR* = uint16 @@ -18,8 +20,10 @@ type CHAR* = char UCHAR* = uint8 BYTE* = byte -# ULONG* = int32 -# DWORD* = int32 + LONG* = int32 + ULONG* = uint32 + PULONG* = ptr ULONG + DWORD* = uint32 LPSTR* = cstring LPDWORD* = ptr DWORD ULONGLONG* = uint64 diff --git a/nimbluez/msbt/ms_ws2bth.nim b/nimbluez/msbt/ms_ws2bth.nim index 4afb08d..869ec37 100644 --- a/nimbluez/msbt/ms_ws2bth.nim +++ b/nimbluez/msbt/ms_ws2bth.nim @@ -17,7 +17,6 @@ #-- {.passC: "-mno-ms-bitfields".} -import winlean import ms_bthdef, ms_bthsdpdef, ms_bluetoothapis const |
