summary refs log tree commit diff stats
path: root/nimpretty/tests/expected/exhaustive.nim
diff options
context:
space:
mode:
Diffstat (limited to 'nimpretty/tests/expected/exhaustive.nim')
-rw-r--r--nimpretty/tests/expected/exhaustive.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/nimpretty/tests/expected/exhaustive.nim b/nimpretty/tests/expected/exhaustive.nim
index 382722ea7..82927a11c 100644
--- a/nimpretty/tests/expected/exhaustive.nim
+++ b/nimpretty/tests/expected/exhaustive.nim
@@ -856,3 +856,8 @@ type
   SpinnyEvent2 = tuple
     kind: EventKind
     payload: string
+
+
+proc hid_open*(vendor_id: cushort; product_id: cushort;
+    serial_number: cstring): ptr HidDevice {.
+    importc: "hid_open", dynlib: hidapi.}