Created
June 6, 2015 06:51
-
-
Save aj07/db93a1fa0ab665ca171d to your computer and use it in GitHub Desktop.
problem of $end solving approach?
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
require 'ffi' | |
require 'capn_proto' | |
ADDRESSBOOK_SCHEMA = File.expand_path("../addressbook.capnp", __FILE__) | |
module AddressBook extend CapnProto::SchemaLoader | |
load_schema(ADDRESSBOOK_SCHEMA) | |
end | |
extend FFI::Library | |
ffi_lib FFI::Library::LIBC | |
attach_function :puts, [ :string ], :int | |
$end | |
Hello.puts("Hello, World") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment