J
Justin Turney
In this simple example, if I assign two Ruby functions to call the same
C function:
rb_define_method(m_rbTask, "prefix=", RUBYCAST(rb_prefix_set), 1);
rb_define_method(m_rbTask, "scratch=", RUBYCAST(rb_prefix_set), 1);
is there a way in rb_prefix_set to determine if the user used prefix= or
scratch=?
Thanks,
Justin
C function:
rb_define_method(m_rbTask, "prefix=", RUBYCAST(rb_prefix_set), 1);
rb_define_method(m_rbTask, "scratch=", RUBYCAST(rb_prefix_set), 1);
is there a way in rb_prefix_set to determine if the user used prefix= or
scratch=?
Thanks,
Justin