Skip to content

Commit

Permalink
add: `std/lib.ff´ library file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol committed Jan 14, 2025
1 parent 4e8023a commit c3f450d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/std/lib.ff
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
atoi: foreign *byte -> int
atol: foreign *byte -> int
atof: foreign *byte -> double
abs: foreign int -> int
labs: foreign int -> int
strtol: foreign *byte *byte int -> int
strtoll: foreign *byte *byte int -> int
strtod: foreign *byte *byte -> double
srand: foreign int -> never
calloc: foreign int int -> *byte
malloc: foreign int -> *byte
realloc: foreign *byte int -> *byte
free: foreign *byte -> never

0 comments on commit c3f450d

Please # to comment.