Is it just me, or does operator_compare, work differently in plugins, than in RB classes, in RB 2006?
I made a class called "op_test" with operator_compare to a string, that I always made as nil. I never did new for this class. I also have operator_compare in my ElfData plugin, to strings. I compared a nil op_test to a string. RB doesn't even call my operator_compare function! Instead, it just treats the nil object as the "" string. OK, I can accept that. I compare a nil ElfData to a string. RB doesn't seem to call my operator_compare, instead it treats my ElfData as equal to anything BUT the "" string. Also this behaviour is slightly platform specific :( I get different behaviour on Little Endian platforms than big endian ones. Is this a bug in RB? Or a bug in my code? _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives: <http://support.realsoftware.com/listarchives/lists.html>
