Skip to content

Commit

Permalink
Add json and typedarrays to spork.
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpakin committed May 30, 2022
1 parent 101b836 commit 2c72d25
Show file tree
Hide file tree
Showing 7 changed files with 1,426 additions and 0 deletions.
15 changes: 15 additions & 0 deletions project.janet
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,18 @@

(declare-source
:source @["spork"])

# Natives

(declare-native
:name "spork/json"
:source @["src/json.c"])

(declare-native
:name "spork/tarray"
:headers @["src/tarray.h"]
:source @["src/tarray.c"])

(declare-headers
:headers ["src/tarray.h"])

2 changes: 2 additions & 0 deletions spork/init.janet
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,5 @@
(import ./schema :export true)
(import ./temple :export true)
(import ./test :export true)
(import spork/json :export true)
(import spork/tarray :export true)
Loading

0 comments on commit 2c72d25

Please sign in to comment.