* refs #68 macro=>proc cSkipSymbol * refs #68 macro=>proc cDebug * refs #68 macro=>proc cDisableCaching * refs #68 notes for cDefine * refs #68 macro=>proc cAddSearchDir ; improve some runnableExamples * refs #68 macro=>proc cAddStdDir * $projpath/include => testsIncludeDir() everywhere * disable $projpath interpolation (error prone) * fix tests * make nim doc part of test suite; fix for 0.19.2
This commit is contained in:
parent
74f4485ecd
commit
9fe45ac32b
11 changed files with 99 additions and 77 deletions
|
|
@ -1,15 +1,15 @@
|
|||
import nimterop/cimport
|
||||
import unittest
|
||||
import nimterop/cimport
|
||||
|
||||
type
|
||||
locale_t = object
|
||||
mingw_ldbl_type_t = object
|
||||
mingw_dbl_type_t = object
|
||||
|
||||
cDebug()
|
||||
cDisableCaching()
|
||||
|
||||
cAddStdDir()
|
||||
static:
|
||||
cDebug()
|
||||
cDisableCaching()
|
||||
cAddStdDir()
|
||||
|
||||
cPlugin:
|
||||
import strutils
|
||||
|
|
@ -21,4 +21,4 @@ cImport cSearchPath("math.h")
|
|||
|
||||
check sin(5) == -0.9589242746631385
|
||||
check abs(-5) == 5
|
||||
check sqrt(4.00) == 2.0
|
||||
check sqrt(4.00) == 2.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue