@@ -3003,10 +3003,6 @@ SWIGINTERN IntArray *IntArray_frompointer(int *t){
30033003#include "../C++/DataDictionary.h"
30043004using namespace FIX;
30053005
3006- #ifdef SWIGPYTHON
3007- PyThreadState *_save;
3008- #endif
3009-
30103006
30113007SWIGINTERN swig_type_info*
30123008SWIG_pchar_descriptor()
@@ -65017,11 +65013,7 @@ SWIGINTERN PyObject *_wrap_Application_onCreate(PyObject *SWIGUNUSEDPARM(self),
6501765013 if (director && (director->swig_get_self()==obj0)) director->swig_set_up();
6501865014 try {
6501965015 Swig::UnknownExceptionHandler dh;
65020- {
65021- PyEval_RestoreThread(_save);
65022- (arg1)->onCreate((FIX::SessionID const &)*arg2);
65023- _save = PyEval_SaveThread();
65024- }
65016+ (arg1)->onCreate((FIX::SessionID const &)*arg2);
6502565017 } catch (Swig::DirectorException&) {
6502665018 SWIG_fail;
6502765019 }
@@ -65065,11 +65057,7 @@ SWIGINTERN PyObject *_wrap_Application_onLogon(PyObject *SWIGUNUSEDPARM(self), P
6506565057 if (director && (director->swig_get_self()==obj0)) director->swig_set_up();
6506665058 try {
6506765059 Swig::UnknownExceptionHandler dh;
65068- {
65069- PyEval_RestoreThread(_save);
65070- (arg1)->onLogon((FIX::SessionID const &)*arg2);
65071- _save = PyEval_SaveThread();
65072- }
65060+ (arg1)->onLogon((FIX::SessionID const &)*arg2);
6507365061 } catch (Swig::DirectorException&) {
6507465062 SWIG_fail;
6507565063 }
@@ -65358,26 +65346,22 @@ SWIGINTERN PyObject *_wrap_Application_fromApp(PyObject *SWIGUNUSEDPARM(self), P
6535865346 if (director && (director->swig_get_self()==obj0)) director->swig_set_up();
6535965347 try {
6536065348 Swig::UnknownExceptionHandler dh;
65361- {
65362- PyEval_RestoreThread(_save);
65363- try {
65364- (arg1)->fromApp((FIX::Message const &)*arg2,(FIX::SessionID const &)*arg3);
65365- }
65366- catch(FIX::FieldNotFound &_e) {
65367- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::FieldNotFound(static_cast< const FIX::FieldNotFound& >(_e))),SWIGTYPE_p_FIX__FieldNotFound,SWIG_POINTER_OWN), "FIX::FieldNotFound", SWIGTYPE_p_FIX__FieldNotFound); SWIG_fail;
65368- }
65369- catch(FIX::IncorrectDataFormat &_e) {
65370- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectDataFormat(static_cast< const FIX::IncorrectDataFormat& >(_e))),SWIGTYPE_p_FIX__IncorrectDataFormat,SWIG_POINTER_OWN), "FIX::IncorrectDataFormat", SWIGTYPE_p_FIX__IncorrectDataFormat); SWIG_fail;
65371- }
65372- catch(FIX::IncorrectTagValue &_e) {
65373- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectTagValue(static_cast< const FIX::IncorrectTagValue& >(_e))),SWIGTYPE_p_FIX__IncorrectTagValue,SWIG_POINTER_OWN), "FIX::IncorrectTagValue", SWIGTYPE_p_FIX__IncorrectTagValue); SWIG_fail;
65374- }
65375- catch(FIX::UnsupportedMessageType &_e) {
65376- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::UnsupportedMessageType(static_cast< const FIX::UnsupportedMessageType& >(_e))),SWIGTYPE_p_FIX__UnsupportedMessageType,SWIG_POINTER_OWN), "FIX::UnsupportedMessageType", SWIGTYPE_p_FIX__UnsupportedMessageType); SWIG_fail;
65377- }
65378-
65379- _save = PyEval_SaveThread();
65349+ try {
65350+ (arg1)->fromApp((FIX::Message const &)*arg2,(FIX::SessionID const &)*arg3);
65351+ }
65352+ catch(FIX::FieldNotFound &_e) {
65353+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::FieldNotFound(static_cast< const FIX::FieldNotFound& >(_e))),SWIGTYPE_p_FIX__FieldNotFound,SWIG_POINTER_OWN), "FIX::FieldNotFound", SWIGTYPE_p_FIX__FieldNotFound); SWIG_fail;
65354+ }
65355+ catch(FIX::IncorrectDataFormat &_e) {
65356+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectDataFormat(static_cast< const FIX::IncorrectDataFormat& >(_e))),SWIGTYPE_p_FIX__IncorrectDataFormat,SWIG_POINTER_OWN), "FIX::IncorrectDataFormat", SWIGTYPE_p_FIX__IncorrectDataFormat); SWIG_fail;
65357+ }
65358+ catch(FIX::IncorrectTagValue &_e) {
65359+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectTagValue(static_cast< const FIX::IncorrectTagValue& >(_e))),SWIGTYPE_p_FIX__IncorrectTagValue,SWIG_POINTER_OWN), "FIX::IncorrectTagValue", SWIGTYPE_p_FIX__IncorrectTagValue); SWIG_fail;
65360+ }
65361+ catch(FIX::UnsupportedMessageType &_e) {
65362+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::UnsupportedMessageType(static_cast< const FIX::UnsupportedMessageType& >(_e))),SWIGTYPE_p_FIX__UnsupportedMessageType,SWIG_POINTER_OWN), "FIX::UnsupportedMessageType", SWIGTYPE_p_FIX__UnsupportedMessageType); SWIG_fail;
6538065363 }
65364+
6538165365 } catch (Swig::DirectorException&) {
6538265366 SWIG_fail;
6538365367 }
@@ -65522,11 +65506,7 @@ SWIGINTERN PyObject *_wrap_SynchronizedApplication_onCreate(PyObject *SWIGUNUSED
6552265506 if (director && (director->swig_get_self()==obj0)) director->swig_set_up();
6552365507 try {
6552465508 Swig::UnknownExceptionHandler dh;
65525- {
65526- PyEval_RestoreThread(_save);
65527- (arg1)->onCreate((FIX::SessionID const &)*arg2);
65528- _save = PyEval_SaveThread();
65529- }
65509+ (arg1)->onCreate((FIX::SessionID const &)*arg2);
6553065510 } catch (Swig::DirectorException&) {
6553165511 SWIG_fail;
6553265512 }
@@ -65570,11 +65550,7 @@ SWIGINTERN PyObject *_wrap_SynchronizedApplication_onLogon(PyObject *SWIGUNUSEDP
6557065550 if (director && (director->swig_get_self()==obj0)) director->swig_set_up();
6557165551 try {
6557265552 Swig::UnknownExceptionHandler dh;
65573- {
65574- PyEval_RestoreThread(_save);
65575- (arg1)->onLogon((FIX::SessionID const &)*arg2);
65576- _save = PyEval_SaveThread();
65577- }
65553+ (arg1)->onLogon((FIX::SessionID const &)*arg2);
6557865554 } catch (Swig::DirectorException&) {
6557965555 SWIG_fail;
6558065556 }
@@ -65863,26 +65839,22 @@ SWIGINTERN PyObject *_wrap_SynchronizedApplication_fromApp(PyObject *SWIGUNUSEDP
6586365839 if (director && (director->swig_get_self()==obj0)) director->swig_set_up();
6586465840 try {
6586565841 Swig::UnknownExceptionHandler dh;
65866- {
65867- PyEval_RestoreThread(_save);
65868- try {
65869- (arg1)->fromApp((FIX::Message const &)*arg2,(FIX::SessionID const &)*arg3);
65870- }
65871- catch(FIX::FieldNotFound &_e) {
65872- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::FieldNotFound(static_cast< const FIX::FieldNotFound& >(_e))),SWIGTYPE_p_FIX__FieldNotFound,SWIG_POINTER_OWN), "FIX::FieldNotFound", SWIGTYPE_p_FIX__FieldNotFound); SWIG_fail;
65873- }
65874- catch(FIX::IncorrectDataFormat &_e) {
65875- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectDataFormat(static_cast< const FIX::IncorrectDataFormat& >(_e))),SWIGTYPE_p_FIX__IncorrectDataFormat,SWIG_POINTER_OWN), "FIX::IncorrectDataFormat", SWIGTYPE_p_FIX__IncorrectDataFormat); SWIG_fail;
65876- }
65877- catch(FIX::IncorrectTagValue &_e) {
65878- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectTagValue(static_cast< const FIX::IncorrectTagValue& >(_e))),SWIGTYPE_p_FIX__IncorrectTagValue,SWIG_POINTER_OWN), "FIX::IncorrectTagValue", SWIGTYPE_p_FIX__IncorrectTagValue); SWIG_fail;
65879- }
65880- catch(FIX::UnsupportedMessageType &_e) {
65881- SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::UnsupportedMessageType(static_cast< const FIX::UnsupportedMessageType& >(_e))),SWIGTYPE_p_FIX__UnsupportedMessageType,SWIG_POINTER_OWN), "FIX::UnsupportedMessageType", SWIGTYPE_p_FIX__UnsupportedMessageType); SWIG_fail;
65882- }
65883-
65884- _save = PyEval_SaveThread();
65842+ try {
65843+ (arg1)->fromApp((FIX::Message const &)*arg2,(FIX::SessionID const &)*arg3);
65844+ }
65845+ catch(FIX::FieldNotFound &_e) {
65846+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::FieldNotFound(static_cast< const FIX::FieldNotFound& >(_e))),SWIGTYPE_p_FIX__FieldNotFound,SWIG_POINTER_OWN), "FIX::FieldNotFound", SWIGTYPE_p_FIX__FieldNotFound); SWIG_fail;
65847+ }
65848+ catch(FIX::IncorrectDataFormat &_e) {
65849+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectDataFormat(static_cast< const FIX::IncorrectDataFormat& >(_e))),SWIGTYPE_p_FIX__IncorrectDataFormat,SWIG_POINTER_OWN), "FIX::IncorrectDataFormat", SWIGTYPE_p_FIX__IncorrectDataFormat); SWIG_fail;
65850+ }
65851+ catch(FIX::IncorrectTagValue &_e) {
65852+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::IncorrectTagValue(static_cast< const FIX::IncorrectTagValue& >(_e))),SWIGTYPE_p_FIX__IncorrectTagValue,SWIG_POINTER_OWN), "FIX::IncorrectTagValue", SWIGTYPE_p_FIX__IncorrectTagValue); SWIG_fail;
65853+ }
65854+ catch(FIX::UnsupportedMessageType &_e) {
65855+ SWIG_Python_Raise(SWIG_NewPointerObj((new FIX::UnsupportedMessageType(static_cast< const FIX::UnsupportedMessageType& >(_e))),SWIGTYPE_p_FIX__UnsupportedMessageType,SWIG_POINTER_OWN), "FIX::UnsupportedMessageType", SWIGTYPE_p_FIX__UnsupportedMessageType); SWIG_fail;
6588565856 }
65857+
6588665858 } catch (Swig::DirectorException&) {
6588765859 SWIG_fail;
6588865860 }
0 commit comments