[omniORB] omniORB Python bindings - How to pass a structure?

Frank Mertens Frank.Mertens at jena-optronik.de
Thu May 11 15:46:44 BST 2006


I'm trying something like:

idl:

struct MyStruc
{
	long a,b,c;
};

interface Acceptor
{
	void getStruc(in MyStruc s)
};


python:
	import rpi
	acceptorRef.getStruc(rpi.MyStruc(a,b,c))

But I always get "omniORB.BAD_PARAM_WrongPythonType".
Why can't I pass that structure here?

Cheers Frank.



More information about the omniORB-list mailing list