Change 1934

tony_smith (Tony Smith)
Tony Smith committed this change into //guest/tony_smith/perforce/API/Ruby
Request Review
Download .zip
Bug fix.
On some lame Linux distro's which ship with beta gcc's
p4.cpp would fail to compile because of a prototype mismatch in the
arguments to the rb_define_method() function (and others). This
change makes use of Ruby's handy RUBY_METHOD_FUNC(func) macro to
make sure the cast is always correct
  • Files 4
  • Comments 0
4 edited 0 added 0 deleted
current/P4Ruby.tar.gz#6
Loading...
main/Changes#12
Loading...
main/p4.cpp#2
Loading...
main/p4rb_version.h#15
Loading...
Tip: Use n and p to cycle through the changes.