Created
March 29, 2017 03:32
-
-
Save mjago/e30b72ad160cee2e3f9f8c04dd5e4b00 to your computer and use it in GitHub Desktop.
String to Char*
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
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