asdfasdf asdf
-
-
Save vanhecke/5d7890cbca64aa604de24a215e9f8a01 to your computer and use it in GitHub Desktop.
123123123
This file contains 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
@[Link("library")] | |
lib LibLibrary | |
fun spawn_object = exp_spawnObject(name: UInt8*) : Pointer(Int64) | |
fun rename_object = exp_renameObject(target: Pointer(Int64), name: UInt8*) | |
end | |
obj = LibLibrary.spawn_object("Jon") | |
LibLibrary.rename_object(obj, "John") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error: