~ubuntu-branches/ubuntu/trusty/pyorbit/trusty

« back to all changes in this revision

Viewing changes to src/pyorbit-servant.c

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2005-12-12 00:32:25 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20051212003225-ob4q314r2gu9a4xp
Tags: 2.13.1-0ubuntu1
New upstream version.

Show diffs side-by-side

added added

removed removed

Lines of Context:
179
179
    PyObject *args = NULL, *ret = NULL;
180
180
    gint n_args, n_rets, i, argpos, retpos;
181
181
    gboolean has_ret;
 
182
    PyGILState_STATE state;
 
183
 
 
184
    state = pyorbit_gil_state_ensure();
182
185
 
183
186
    pyservant = SERVANT_TO_PYSERVANT(servant);
184
187
    imethod = (ORBit_IMethod *)impl;
353
356
    Py_XDECREF(method);
354
357
    Py_XDECREF(args);
355
358
    Py_XDECREF(ret);
 
359
    pyorbit_gil_state_release(state);
356
360
}
357
361
 
358
362
static ORBitSmallSkeleton
425
429
 
426
430
    servant = PYSERVANT_TO_SERVANT(self);
427
431
    servant->vepv = info->vepv;
 
432
    ORBit_classinfo_register(&info->class_info);
428
433
    ORBIT_SERVANT_SET_CLASSINFO(servant, &info->class_info);
429
434
 
430
435
    CORBA_exception_init(&ev);