L
lianliming
Hi all,
I am hacking some existing Ruby c extension, and found code like
following:
#ifdef RUBY_VM
.....
#endif
I want to know the meaning of micro RUBY_VM. I have read some
documents about Ruby C extension like the README.EXT in Ruby source
code. But I can't find anywhere talking about usage of this micro.
Google search only shows me some code using this micro without any
explanation on why and when to use this micro.
Any hints? or is there any online article documenting this micro?
Thanks in advance!
I am hacking some existing Ruby c extension, and found code like
following:
#ifdef RUBY_VM
.....
#endif
I want to know the meaning of micro RUBY_VM. I have read some
documents about Ruby C extension like the README.EXT in Ruby source
code. But I can't find anywhere talking about usage of this micro.
Google search only shows me some code using this micro without any
explanation on why and when to use this micro.
Any hints? or is there any online article documenting this micro?
Thanks in advance!