|
|
|
|||||
|
Impact of include on on structs in modules(Python)
(Linux/i386 (FC3), Ice-2.1.0, Python 2.4)
I have a few struct definitions in my file struct.ice: Code:
module Foo {
struct MyStruct {
...
};
};
Code:
#include <struct.ice>
module Foo {
interface Bar {
MyStruct getStruct();
};
};
Code:
sys:1: RuntimeWarning: invalid return value for operation `getStruct'
TestApplication.py: warning: dispatch exception:
Operation.cpp:870: Ice::MarshalException:
protocol error: error during marshaling or unmarshaling
$ slice2py -I. --all --output-dir ../lib/ Foo.ice Any thoughts? I'd like to keep these sort of common definitions in a separate file. Last edited by petrilli : 03-10-2005 at 10:46 PM. |
|
|||||
|
Fixed
Quote:
Quote:
Thanks for the assistance! You guys are great. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| docs: reference to other modules in slice | n2503v | Comments | 2 | 11-20-2006 05:00 PM |
| Python: #include/import problem with slice2py | hiasl | Bug Reports | 1 | 02-21-2006 10:59 AM |
| Creating dynamically loadable modules | g00fy | Help Center | 3 | 12-13-2005 05:17 PM |
| Latency: structs vs. classes | n2503v | Help Center | 7 | 10-09-2005 01:08 AM |
| Parameterized constructors for structs? | shaver | Comments | 3 | 01-10-2004 07:59 PM |