Documentation, fix tmath on Windows
This commit is contained in:
parent
d8c75a43f7
commit
44b529f5f5
2 changed files with 19 additions and 0 deletions
|
|
@ -10,6 +10,13 @@ cDebug()
|
|||
cDisableCaching()
|
||||
|
||||
cAddStdDir()
|
||||
|
||||
cPlugin:
|
||||
import strutils
|
||||
|
||||
proc onSymbol*(sym: string): string {.exportc, dynlib.} =
|
||||
return sym.strip(chars={'_'})
|
||||
|
||||
cImport cSearchPath("math.h")
|
||||
|
||||
check sin(5) == -0.9589242746631385
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue