Skip to content

Commit

Permalink
fix defining structs in dev.
Browse files Browse the repository at this point in the history
  • Loading branch information
phronmophobic committed Jul 10, 2024
1 parent c1f10ee commit c56b324
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/com/phronemophobic/clong/gen/jna.clj
Original file line number Diff line number Diff line change
Expand Up @@ -469,6 +469,11 @@

(defn def-struct [struct-prefix struct]
(when *compile-files*
((requiring-resolve 'com.phronemophobic.clong.gen.jna.insn/def-struct)
struct-prefix
struct))
(if-compiling
nil
((requiring-resolve 'com.phronemophobic.clong.gen.jna.insn/def-struct)
struct-prefix
struct)))
Expand Down

0 comments on commit c56b324

Please sign in to comment.