Skip to content

Instantly share code, notes, and snippets.

@mjago
Created March 29, 2017 03:32
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 mjago/e30b72ad160cee2e3f9f8c04dd5e4b00 to your computer and use it in GitHub Desktop.
Save mjago/e30b72ad160cee2e3f9f8c04dd5e4b00 to your computer and use it in GitHub Desktop.
String to Char*
lib SomeLib
fun some_fun(LibC::Char*)
end
class SomeClass
def some_fun(arg : String)
SomeLib.some_fun(arg)
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment