[Orbit-python-list] Problem returning boolean values
Status: Inactive
Brought to you by:
tack
From: Brad C. <cha...@ar...> - 2001-09-04 09:09:48
|
Hello again; Sorry for flooding everyone's boxes -- I guess I shouldn't have saved all of my patches to send all at once :-). While working, I also ran into a problem with boolean values. Basically, ORBit-python seemed to always return zero to the client, independent of the value passed in at the server side. I cooked up an example client and server which demonstrates the problem: http://www.bioinformatics.org/bradstuff/bc/BooleanTest.tar.gz I also took a gander into the code for this one and came up with a proposed patch to the demarshalling code, which is attached. Basically, this defines the returned value as being a CORBA_short instead of CORBA_octet. The patch is a simple one-liner, but the same caveats apply as in my previous message. HTH, Brad |