Sha256: bb3f1c331e20e59dc6163d59830283f645b3d5d6c78e2a00189c4be40b4287e1
Contents?: true
Size: 237 Bytes
Versions: 46
Compression:
Stored size: 237 Bytes
Contents
#!/usr/local/bin/ruby -w begin require 'rubygems' rescue LoadError end require 'inline' class Hello inline do |builder| builder.include "<stdio.h>" builder.c 'void hello() { puts("hello world"); }' end end Hello.new.hello
Version data entries
46 entries across 46 versions & 4 rubygems
Version | Path |
---|---|
RubyInline-3.8.1 | demo/hello.rb |
RubyInline-3.6.6 | demo/hello.rb |
RubyInline-3.6.4 | demo/hello.rb |
RubyInline-3.6.7 | demo/hello.rb |
RubyInline-3.7.0 | demo/hello.rb |
RubyInline-3.6.3 | demo/hello.rb |