- newobj = _misc_.new_MutexGuiLocker(*args, **kwargs)
- self.this = newobj.this
- self.thisown = 1
- del newobj.thisown
- def __del__(self, destroy=_misc_.delete_MutexGuiLocker):
- """__del__(self)"""
- try:
- if self.thisown: destroy(self)
- except: pass
-
-
-class MutexGuiLockerPtr(MutexGuiLocker):
- def __init__(self, this):
- self.this = this
- if not hasattr(self,"thisown"): self.thisown = 0
- self.__class__ = MutexGuiLocker
-_misc_.MutexGuiLocker_swigregister(MutexGuiLockerPtr)
-
-
-def Thread_IsMain(*args, **kwargs):
- """Thread_IsMain() -> bool"""
- return _misc_.Thread_IsMain(*args, **kwargs)
+ _misc_.MutexGuiLocker_swiginit(self,_misc_.new_MutexGuiLocker(*args, **kwargs))
+ __swig_destroy__ = _misc_.delete_MutexGuiLocker
+ __del__ = lambda self : None;
+MutexGuiLocker_swigregister = _misc_.MutexGuiLocker_swigregister
+MutexGuiLocker_swigregister(MutexGuiLocker)
+
+
+def Thread_IsMain(*args):
+ """Thread_IsMain() -> bool"""
+ return _misc_.Thread_IsMain(*args)