RLTK icon indicating copy to clipboard operation
RLTK copied to clipboard

:pointer argument is not a valid pointer

Open guncha opened this issue 9 years ago • 0 comments

This very simple snippet doesn't seem to work for me and I don't know why:

mod = RLTK::CG::Module.new("Hello")
mod.globals.add(RLTK::CG::Int32Type, "hello")

Stacktrace:

ArgumentError: :pointer argument is not a valid pointer
from /Users/gunca/.rvm/gems/ruby-2.1.5/gems/rltk-3.0.0/lib/rltk/cg/module.rb:391:in `add_global'

Running against LLVM-3.4 from Homebrew.

guncha avatar Mar 21 '15 22:03 guncha