Fix cross_calculator example
This commit is contained in:
parent
512db9aea6
commit
6244cc2e4f
4 changed files with 7 additions and 7 deletions
5
examples/cross_calculator/nim_backend/backend.nim
Normal file
5
examples/cross_calculator/nim_backend/backend.nim
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
# Backend for the different user interfaces.
|
||||
|
||||
proc myAdd*(x, y: int): int {.cdecl, exportc.} =
|
||||
result = x + y
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue