forked from ground/ground
Experimental external library support
This commit is contained in:
@@ -282,10 +282,12 @@ Note: Ground will check the directory where the program is being run from when t
|
||||
|
||||
Usage: `use $stringvalue`
|
||||
|
||||
#### extern (WORK IN PROGRESS)
|
||||
#### extern (Experimental, please report bugs!)
|
||||
|
||||
Attempts to import a shared object library written for Ground. All functions in the external library will be usable with `call`.
|
||||
|
||||
Note: Ground will check the directory where the program is being run from when trying to find external programs. If that fails, it will check the directory set in the $GROUND_LIBS environment variable set by your system. The '.so', '.dll', etc extension is appended automatically.
|
||||
Note: Ground will check the directory set in the $GROUND_LIBS environment variable set by your system. The '.so' (Linux), '.dylib' (macOS), or '.dll' (Windows) extension is appended automatically.
|
||||
|
||||
Documentation on how to do external libraries coming soon.
|
||||
|
||||
Usage: `extern $stringvalue`
|
||||
|
Reference in New Issue
Block a user