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:
Tim Dévé 2019-09-11 10:04:18 +01:00 committed by GitHub
parent fa80d1967e
commit a9af4becbf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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