Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- proc add( x, y: cint ): cint {.stdcall,exportc,dynlib} =
- return x + y
- proc iterate( n: cint ): void {.stdcall,exportc,dynlib} =
- echo( "in iter" )
- # changing to string segfaults from c
- #echo( $n )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement