slice2py out parameter problem

socketrefsocketref Member bin.zhangOrganization: sohuProject: Gps Navi Device
my slice as:

CallResultT newSchool(UserSession session,out School s);

slice2cpp code:
=========================
virtual ::stcare::CallResultT newSchool(const ::stcare::UserSession&, ::stcare::School&, const ::Ice::Context*) = 0;


slice2py create code :
===================
def newSchool(self, session, current=None):
pass

cpp is ok,but in python lost output parameter
how can i do?

Comments

  • dwaynedwayne St. John's, NewfoundlandMember Dwayne BooneOrganization: ZeroC, Inc.Project: Internet Communications Engine
    Please read the information on using python out paramters in section 22.12 of the manual. If you have further questions, let us know.
Sign In or Register to comment.