Archived

This forum has been archived. Please start a new discussion on GitHub.

slice2py out parameter problem

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

  • dwayne
    dwayne St. John's, Newfoundland
    Please read the information on using python out paramters in section 22.12 of the manual. If you have further questions, let us know.