Skip to content

Instantly share code, notes, and snippets.

Created June 6, 2017 00:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/26b4a58c6f9467494f23913811330510 to your computer and use it in GitHub Desktop.
Save anonymous/26b4a58c6f9467494f23913811330510 to your computer and use it in GitHub Desktop.
alias LispValue = Pointer(LispObject)
class String
def wrap : LispValue
val = LispObject.new(LispType::String, self)
pointerof(val)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment