mirror of
https://github.com/carp-lang/Carp.git
synced 2024-10-26 05:45:37 +03:00
Updates docs to reflect removal of local-include
Replaces reference to local-include with relative-include in the language guide local-include was removed in https://github.com/carp-lang/Carp/pull/543
This commit is contained in:
parent
fa80d1967e
commit
a9af4becbf
@ -220,7 +220,7 @@ Sometimes, it's more convenient to bring a module's declarations into scope only
|
||||
### C Interop
|
||||
```clojure
|
||||
(system-include "math.h") ;; compiles to #include <math.h>
|
||||
(local-include "math.h") ;; compiles to #include "math.h"
|
||||
(relative-include "math.h") ;; compiles to #include "/full/path/to/file/math.h"
|
||||
|
||||
(register blah (Fn [Int Int] String)) ;; Will register the function 'blah' that takes two Int:s and returns a String
|
||||
(register pi Double) ;; Will register the global variable 'pi' of type Double
|
||||
|
Loading…
Reference in New Issue
Block a user