SciRuby / rubex

rubex - A Ruby-like language for writing Ruby C extensions.
BSD 2-Clause "Simplified" License
451 stars 21 forks source link

Support creation of Ruby instance variables with `@`. #8

Closed v0dro closed 6 years ago

v0dro commented 7 years ago

Just like in normal Ruby, create instance variable by interfacing with rb_iv_get() and rb_iv_set().

https://silverhammermba.github.io/emberb/c/#class-and-instance-variables

v0dro commented 6 years ago

https://github.com/SciRuby/rubex/commit/b8c0883518da3989e0226b0235408770d05cbe9d