[Tinyos-2-commits]
CVS: tinyos-2.x/tos/lib/tossim TOSSIM.py, 1.1.2.8,
1.1.2.9 tossim.c, 1.1.2.10, 1.1.2.11 tossim.h, 1.1.2.9,
1.1.2.10 tossim.i, 1.1.2.7, 1.1.2.8 tossim_wrap.cxx, 1.1.2.8,
1.1.2.9
Jan-Hinrich Hauer
janhauer at users.sourceforge.net
Fri Sep 8 05:20:17 PDT 2006
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420
CC2420ControlP.nc, 1.1.2.21, 1.1.2.22
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tossim
SerialActiveMessageC.nc, 1.1.2.2,
1.1.2.3 TossimActiveMessageP.nc, 1.1.2.9,
1.1.2.10 TossimPacketModelC.nc, 1.1.2.6,
1.1.2.7 UscGainInterferenceModelC.nc, 1.1.2.9, 1.1.2.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim
In directory sc8-pr-cvs10.sourceforge.net:/tmp/cvs-serv20714/tos/lib/tossim
Modified Files:
Tag: tinyos-2_0_devel-BRANCH
TOSSIM.py tossim.c tossim.h tossim.i tossim_wrap.cxx
Log Message:
Added feature: The C-function for setting the random seed, sim_random_seed(), is now propagated to the C++ and python wrappers.
Index: TOSSIM.py
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim/TOSSIM.py,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -C2 -d -r1.1.2.8 -r1.1.2.9
*** TOSSIM.py 4 Aug 2006 01:41:15 -0000 1.1.2.8
--- TOSSIM.py 8 Sep 2006 12:20:14 -0000 1.1.2.9
***************
*** 1,18 ****
! # This file was created automatically by SWIG.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.
import _TOSSIM
!
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
if (name == "this"):
! if isinstance(value, class_type):
! self.__dict__[name] = value.this
! if hasattr(value,"thisown"): self.__dict__["thisown"] = value.thisown
! del value.thisown
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
! if (not static) or hasattr(self,name) or (name == "thisown"):
self.__dict__[name] = value
else:
--- 1,18 ----
! # This file was created automatically by SWIG 1.3.29.
# Don't modify this file, modify the SWIG interface instead.
# This file is compatible with both classic and new-style classes.
import _TOSSIM
! import new
! new_instancemethod = new.instancemethod
def _swig_setattr_nondynamic(self,class_type,name,value,static=1):
+ if (name == "thisown"): return self.this.own(value)
if (name == "this"):
! if type(value).__name__ == 'PySwigObject':
! self.__dict__[name] = value
return
method = class_type.__swig_setmethods__.get(name,None)
if method: return method(self,value)
! if (not static) or hasattr(self,name):
self.__dict__[name] = value
else:
***************
*** 23,30 ****
--- 23,36 ----
def _swig_getattr(self,class_type,name):
+ if (name == "thisown"): return self.this.own()
method = class_type.__swig_getmethods__.get(name,None)
if method: return method(self)
raise AttributeError,name
+ def _swig_repr(self):
+ try: strthis = "proxy of " + self.this.__repr__()
+ except: strthis = ""
+ return "<%s.%s; %s >" % (self.__class__.__module__, self.__class__.__name__, strthis,)
+
import types
try:
***************
*** 42,55 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MAC, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ MAC instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
! def __init__(self, *args):
! _swig_setattr(self, MAC, 'this', _TOSSIM.new_MAC(*args))
! _swig_setattr(self, MAC, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_MAC):
! try:
! if self.thisown: destroy(self)
! except: pass
!
def initHigh(*args): return _TOSSIM.MAC_initHigh(*args)
def initLow(*args): return _TOSSIM.MAC_initLow(*args)
--- 48,58 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, MAC, name)
! __repr__ = _swig_repr
! def __init__(self, *args):
! this = _TOSSIM.new_MAC(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_MAC
! __del__ = lambda self : None;
def initHigh(*args): return _TOSSIM.MAC_initHigh(*args)
def initLow(*args): return _TOSSIM.MAC_initLow(*args)
***************
*** 76,86 ****
def setRxtxDelay(*args): return _TOSSIM.MAC_setRxtxDelay(*args)
def setAckTime(*args): return _TOSSIM.MAC_setAckTime(*args)
!
! class MACPtr(MAC):
! def __init__(self, this):
! _swig_setattr(self, MAC, 'this', this)
! if not hasattr(self,"thisown"): _swig_setattr(self, MAC, 'thisown', 0)
! _swig_setattr(self, MAC,self.__class__,MAC)
! _TOSSIM.MAC_swigregister(MACPtr)
class Radio(_object):
--- 79,84 ----
def setRxtxDelay(*args): return _TOSSIM.MAC_setRxtxDelay(*args)
def setAckTime(*args): return _TOSSIM.MAC_setAckTime(*args)
! MAC_swigregister = _TOSSIM.MAC_swigregister
! MAC_swigregister(MAC)
class Radio(_object):
***************
*** 89,102 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Radio, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ Radio instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
! def __init__(self, *args):
! _swig_setattr(self, Radio, 'this', _TOSSIM.new_Radio(*args))
! _swig_setattr(self, Radio, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_Radio):
! try:
! if self.thisown: destroy(self)
! except: pass
!
def add(*args): return _TOSSIM.Radio_add(*args)
def gain(*args): return _TOSSIM.Radio_gain(*args)
--- 87,97 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Radio, name)
! __repr__ = _swig_repr
! def __init__(self, *args):
! this = _TOSSIM.new_Radio(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_Radio
! __del__ = lambda self : None;
def add(*args): return _TOSSIM.Radio_add(*args)
def gain(*args): return _TOSSIM.Radio_gain(*args)
***************
*** 105,115 ****
def setNoise(*args): return _TOSSIM.Radio_setNoise(*args)
def setSensitivity(*args): return _TOSSIM.Radio_setSensitivity(*args)
!
! class RadioPtr(Radio):
! def __init__(self, this):
! _swig_setattr(self, Radio, 'this', this)
! if not hasattr(self,"thisown"): _swig_setattr(self, Radio, 'thisown', 0)
! _swig_setattr(self, Radio,self.__class__,Radio)
! _TOSSIM.Radio_swigregister(RadioPtr)
class Packet(_object):
--- 100,105 ----
def setNoise(*args): return _TOSSIM.Radio_setNoise(*args)
def setSensitivity(*args): return _TOSSIM.Radio_setSensitivity(*args)
! Radio_swigregister = _TOSSIM.Radio_swigregister
! Radio_swigregister(Radio)
class Packet(_object):
***************
*** 118,131 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Packet, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ Packet instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
! def __init__(self, *args):
! _swig_setattr(self, Packet, 'this', _TOSSIM.new_Packet(*args))
! _swig_setattr(self, Packet, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_Packet):
! try:
! if self.thisown: destroy(self)
! except: pass
!
def setDestination(*args): return _TOSSIM.Packet_setDestination(*args)
def destination(*args): return _TOSSIM.Packet_destination(*args)
--- 108,118 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Packet, name)
! __repr__ = _swig_repr
! def __init__(self, *args):
! this = _TOSSIM.new_Packet(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_Packet
! __del__ = lambda self : None;
def setDestination(*args): return _TOSSIM.Packet_setDestination(*args)
def destination(*args): return _TOSSIM.Packet_destination(*args)
***************
*** 140,150 ****
def deliver(*args): return _TOSSIM.Packet_deliver(*args)
def deliverNow(*args): return _TOSSIM.Packet_deliverNow(*args)
!
! class PacketPtr(Packet):
! def __init__(self, this):
! _swig_setattr(self, Packet, 'this', this)
! if not hasattr(self,"thisown"): _swig_setattr(self, Packet, 'thisown', 0)
! _swig_setattr(self, Packet,self.__class__,Packet)
! _TOSSIM.Packet_swigregister(PacketPtr)
class variable_string_t(_object):
--- 127,132 ----
def deliver(*args): return _TOSSIM.Packet_deliver(*args)
def deliverNow(*args): return _TOSSIM.Packet_deliverNow(*args)
! Packet_swigregister = _TOSSIM.Packet_swigregister
! Packet_swigregister(Packet)
class variable_string_t(_object):
***************
*** 153,158 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, variable_string_t, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ variable_string_t instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
__swig_setmethods__["type"] = _TOSSIM.variable_string_t_type_set
__swig_getmethods__["type"] = _TOSSIM.variable_string_t_type_get
--- 135,139 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, variable_string_t, name)
! __repr__ = _swig_repr
__swig_setmethods__["type"] = _TOSSIM.variable_string_t_type_set
__swig_getmethods__["type"] = _TOSSIM.variable_string_t_type_get
***************
*** 167,185 ****
__swig_getmethods__["isArray"] = _TOSSIM.variable_string_t_isArray_get
if _newclass:isArray = property(_TOSSIM.variable_string_t_isArray_get, _TOSSIM.variable_string_t_isArray_set)
! def __init__(self, *args):
! _swig_setattr(self, variable_string_t, 'this', _TOSSIM.new_variable_string_t(*args))
! _swig_setattr(self, variable_string_t, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_variable_string_t):
! try:
! if self.thisown: destroy(self)
! except: pass
!
!
! class variable_string_tPtr(variable_string_t):
! def __init__(self, this):
! _swig_setattr(self, variable_string_t, 'this', this)
! if not hasattr(self,"thisown"): _swig_setattr(self, variable_string_t, 'thisown', 0)
! _swig_setattr(self, variable_string_t,self.__class__,variable_string_t)
! _TOSSIM.variable_string_t_swigregister(variable_string_tPtr)
class nesc_app_t(_object):
--- 148,159 ----
__swig_getmethods__["isArray"] = _TOSSIM.variable_string_t_isArray_get
if _newclass:isArray = property(_TOSSIM.variable_string_t_isArray_get, _TOSSIM.variable_string_t_isArray_set)
! def __init__(self, *args):
! this = _TOSSIM.new_variable_string_t(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_variable_string_t
! __del__ = lambda self : None;
! variable_string_t_swigregister = _TOSSIM.variable_string_t_swigregister
! variable_string_t_swigregister(variable_string_t)
class nesc_app_t(_object):
***************
*** 188,193 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, nesc_app_t, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ nesc_app_t instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
__swig_setmethods__["numVariables"] = _TOSSIM.nesc_app_t_numVariables_set
__swig_getmethods__["numVariables"] = _TOSSIM.nesc_app_t_numVariables_get
--- 162,166 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, nesc_app_t, name)
! __repr__ = _swig_repr
__swig_setmethods__["numVariables"] = _TOSSIM.nesc_app_t_numVariables_set
__swig_getmethods__["numVariables"] = _TOSSIM.nesc_app_t_numVariables_get
***************
*** 202,220 ****
__swig_getmethods__["variableArray"] = _TOSSIM.nesc_app_t_variableArray_get
if _newclass:variableArray = property(_TOSSIM.nesc_app_t_variableArray_get, _TOSSIM.nesc_app_t_variableArray_set)
! def __init__(self, *args):
! _swig_setattr(self, nesc_app_t, 'this', _TOSSIM.new_nesc_app_t(*args))
! _swig_setattr(self, nesc_app_t, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_nesc_app_t):
! try:
! if self.thisown: destroy(self)
! except: pass
!
!
! class nesc_app_tPtr(nesc_app_t):
! def __init__(self, this):
! _swig_setattr(self, nesc_app_t, 'this', this)
! if not hasattr(self,"thisown"): _swig_setattr(self, nesc_app_t, 'thisown', 0)
! _swig_setattr(self, nesc_app_t,self.__class__,nesc_app_t)
! _TOSSIM.nesc_app_t_swigregister(nesc_app_tPtr)
class Variable(_object):
--- 175,186 ----
__swig_getmethods__["variableArray"] = _TOSSIM.nesc_app_t_variableArray_get
if _newclass:variableArray = property(_TOSSIM.nesc_app_t_variableArray_get, _TOSSIM.nesc_app_t_variableArray_set)
! def __init__(self, *args):
! this = _TOSSIM.new_nesc_app_t(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_nesc_app_t
! __del__ = lambda self : None;
! nesc_app_t_swigregister = _TOSSIM.nesc_app_t_swigregister
! nesc_app_t_swigregister(nesc_app_t)
class Variable(_object):
***************
*** 223,244 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Variable, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ Variable instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
! def __init__(self, *args):
! _swig_setattr(self, Variable, 'this', _TOSSIM.new_Variable(*args))
! _swig_setattr(self, Variable, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_Variable):
! try:
! if self.thisown: destroy(self)
! except: pass
!
def getData(*args): return _TOSSIM.Variable_getData(*args)
!
! class VariablePtr(Variable):
! def __init__(self, this):
! _swig_setattr(self, Variable, 'this', this)
! if not hasattr(self,"thisown"): _swig_setattr(self, Variable, 'thisown', 0)
! _swig_setattr(self, Variable,self.__class__,Variable)
! _TOSSIM.Variable_swigregister(VariablePtr)
class Mote(_object):
--- 189,202 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Variable, name)
! __repr__ = _swig_repr
! def __init__(self, *args):
! this = _TOSSIM.new_Variable(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_Variable
! __del__ = lambda self : None;
def getData(*args): return _TOSSIM.Variable_getData(*args)
! Variable_swigregister = _TOSSIM.Variable_swigregister
! Variable_swigregister(Variable)
class Mote(_object):
***************
*** 247,260 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Mote, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ Mote instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
! def __init__(self, *args):
! _swig_setattr(self, Mote, 'this', _TOSSIM.new_Mote(*args))
! _swig_setattr(self, Mote, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_Mote):
! try:
! if self.thisown: destroy(self)
! except: pass
!
def id(*args): return _TOSSIM.Mote_id(*args)
def euid(*args): return _TOSSIM.Mote_euid(*args)
--- 205,215 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Mote, name)
! __repr__ = _swig_repr
! def __init__(self, *args):
! this = _TOSSIM.new_Mote(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_Mote
! __del__ = lambda self : None;
def id(*args): return _TOSSIM.Mote_id(*args)
def euid(*args): return _TOSSIM.Mote_euid(*args)
***************
*** 266,276 ****
def turnOn(*args): return _TOSSIM.Mote_turnOn(*args)
def getVariable(*args): return _TOSSIM.Mote_getVariable(*args)
!
! class MotePtr(Mote):
! def __init__(self, this):
! _swig_setattr(self, Mote, 'this', this)
! if not hasattr(self,"thisown"): _swig_setattr(self, Mote, 'thisown', 0)
! _swig_setattr(self, Mote,self.__class__,Mote)
! _TOSSIM.Mote_swigregister(MotePtr)
class Tossim(_object):
--- 221,226 ----
def turnOn(*args): return _TOSSIM.Mote_turnOn(*args)
def getVariable(*args): return _TOSSIM.Mote_getVariable(*args)
! Mote_swigregister = _TOSSIM.Mote_swigregister
! Mote_swigregister(Mote)
class Tossim(_object):
***************
*** 279,292 ****
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Tossim, name)
! def __repr__(self):
! return "<%s.%s; proxy of C++ Tossim instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,)
! def __init__(self, *args):
! _swig_setattr(self, Tossim, 'this', _TOSSIM.new_Tossim(*args))
! _swig_setattr(self, Tossim, 'thisown', 1)
! def __del__(self, destroy=_TOSSIM.delete_Tossim):
! try:
! if self.thisown: destroy(self)
! except: pass
!
def init(*args): return _TOSSIM.Tossim_init(*args)
def time(*args): return _TOSSIM.Tossim_time(*args)
--- 229,239 ----
__swig_getmethods__ = {}
__getattr__ = lambda self, name: _swig_getattr(self, Tossim, name)
! __repr__ = _swig_repr
! def __init__(self, *args):
! this = _TOSSIM.new_Tossim(*args)
! try: self.this.append(this)
! except: self.this = this
! __swig_destroy__ = _TOSSIM.delete_Tossim
! __del__ = lambda self : None;
def init(*args): return _TOSSIM.Tossim_init(*args)
def time(*args): return _TOSSIM.Tossim_time(*args)
***************
*** 299,313 ****
def addChannel(*args): return _TOSSIM.Tossim_addChannel(*args)
def removeChannel(*args): return _TOSSIM.Tossim_removeChannel(*args)
def runNextEvent(*args): return _TOSSIM.Tossim_runNextEvent(*args)
def mac(*args): return _TOSSIM.Tossim_mac(*args)
def radio(*args): return _TOSSIM.Tossim_radio(*args)
def newPacket(*args): return _TOSSIM.Tossim_newPacket(*args)
- class TossimPtr(Tossim):
- def __init__(self, this):
- _swig_setattr(self, Tossim, 'this', this)
- if not hasattr(self,"thisown"): _swig_setattr(self, Tossim, 'thisown', 0)
- _swig_setattr(self, Tossim,self.__class__,Tossim)
- _TOSSIM.Tossim_swigregister(TossimPtr)
--- 246,257 ----
def addChannel(*args): return _TOSSIM.Tossim_addChannel(*args)
def removeChannel(*args): return _TOSSIM.Tossim_removeChannel(*args)
+ def randomSeed(*args): return _TOSSIM.Tossim_randomSeed(*args)
def runNextEvent(*args): return _TOSSIM.Tossim_runNextEvent(*args)
def mac(*args): return _TOSSIM.Tossim_mac(*args)
def radio(*args): return _TOSSIM.Tossim_radio(*args)
def newPacket(*args): return _TOSSIM.Tossim_newPacket(*args)
+ Tossim_swigregister = _TOSSIM.Tossim_swigregister
+ Tossim_swigregister(Tossim)
Index: tossim.c
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim/tossim.c,v
retrieving revision 1.1.2.10
retrieving revision 1.1.2.11
diff -C2 -d -r1.1.2.10 -r1.1.2.11
*** tossim.c 4 Aug 2006 01:41:15 -0000 1.1.2.10
--- tossim.c 8 Sep 2006 12:20:14 -0000 1.1.2.11
***************
*** 258,261 ****
--- 258,265 ----
}
+ void Tossim::randomSeed(int seed) {
+ return sim_random_seed(seed);
+ }
+
bool Tossim::runNextEvent() {
return sim_run_next_event();
Index: tossim.h
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim/tossim.h,v
retrieving revision 1.1.2.9
retrieving revision 1.1.2.10
diff -C2 -d -r1.1.2.9 -r1.1.2.10
*** tossim.h 4 Aug 2006 01:41:15 -0000 1.1.2.9
--- tossim.h 8 Sep 2006 12:20:14 -0000 1.1.2.10
***************
*** 119,122 ****
--- 119,123 ----
void addChannel(char* channel, FILE* file);
bool removeChannel(char* channel, FILE* file);
+ void randomSeed(int seed);
bool runNextEvent();
Index: tossim.i
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim/tossim.i,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -C2 -d -r1.1.2.7 -r1.1.2.8
*** tossim.i 7 Mar 2006 02:35:48 -0000 1.1.2.7
--- tossim.i 8 Sep 2006 12:20:14 -0000 1.1.2.8
***************
*** 368,371 ****
--- 368,372 ----
void addChannel(char* channel, FILE* file);
bool removeChannel(char* channel, FILE* file);
+ void randomSeed(int seed);
bool runNextEvent();
Index: tossim_wrap.cxx
===================================================================
RCS file: /cvsroot/tinyos/tinyos-2.x/tos/lib/tossim/tossim_wrap.cxx,v
retrieving revision 1.1.2.8
retrieving revision 1.1.2.9
diff -C2 -d -r1.1.2.8 -r1.1.2.9
*** tossim_wrap.cxx 4 Aug 2006 01:41:15 -0000 1.1.2.8
--- tossim_wrap.cxx 8 Sep 2006 12:20:14 -0000 1.1.2.9
***************
*** 1,5 ****
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.24
*
* This file is not intended to be easily readable and contains a number of
--- 1,5 ----
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
! * Version 1.3.29
*
[...11016 lines suppressed...]
* -----------------------------------------------------------------------------*/
#ifdef __cplusplus
extern "C"
#endif
! SWIGEXPORT void SWIG_init(void) {
! PyObject *m, *d;
!
! /* Fix SwigMethods to carry the callback ptrs when needed */
! SWIG_Python_FixMethods(SwigMethods, swig_const_table, swig_types, swig_type_initial);
!
! m = Py_InitModule((char *) SWIG_name, SwigMethods);
! d = PyModule_GetDict(m);
!
! SWIG_InitializeModule(0);
! SWIG_InstallConstants(d,swig_const_table);
!
!
}
- Previous message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/chips/cc2420
CC2420ControlP.nc, 1.1.2.21, 1.1.2.22
- Next message: [Tinyos-2-commits] CVS: tinyos-2.x/tos/lib/tossim
SerialActiveMessageC.nc, 1.1.2.2,
1.1.2.3 TossimActiveMessageP.nc, 1.1.2.9,
1.1.2.10 TossimPacketModelC.nc, 1.1.2.6,
1.1.2.7 UscGainInterferenceModelC.nc, 1.1.2.9, 1.1.2.10
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Tinyos-2-commits
mailing list