diff options
author | Miran <narimiran@disroot.org> | 2021-03-12 15:34:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-12 15:34:42 +0100 |
commit | 4f0bac791a3d8ae198d8bbbbed29410d3d7d3d7c (patch) | |
tree | 86c551dbd64ef5ca83f47db5c97eb16949983e04 /nimpretty/tests/expected | |
parent | 686bf3bfc6a492304e7f662a8da8fff436cba53e (diff) | |
download | Nim-4f0bac791a3d8ae198d8bbbbed29410d3d7d3d7c.tar.gz |
fix #12155, improve nimpretty's handling of pragmas (#17353)
Diffstat (limited to 'nimpretty/tests/expected')
-rw-r--r-- | nimpretty/tests/expected/exhaustive.nim | 5 |
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.} |