Last active
January 10, 2017 09:13
-
-
Save ghassanpl/47de5f7037641e0e6af76fffad52e222 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FFIModule add-method: { add-func: aSymbol | |
| sym | | |
sym = mDLL symbol: aSymbol; | |
sym not-nil assert: "Symbol not found: ", aSymbol to-string; | |
mFunMap at: aSymbol put: sym; | |
^ sym; | |
}; | |
FFIModule add-method: { add-func: aSymbol | |
| sym | | |
sym = mDLL symbol: aSymbol. | |
sym not-nil assert: "Symbol not found: ", aSymbol to-string. | |
mFunMap at: aSymbol put: sym. | |
^ sym. | |
}. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment