equal
deleted
inserted
replaced
95 |
95 |
96 class Iec2CSettings(): |
96 class Iec2CSettings(): |
97 def __init__(self): |
97 def __init__(self): |
98 self.iec2c = None |
98 self.iec2c = None |
99 self.iec2c_buildopts = None |
99 self.iec2c_buildopts = None |
100 self.ieclib_path = self.findLibPath() |
100 self.ieclib_path = self.findLibPath() |
101 self.ieclib_c_path = self.findLibCPath() |
101 self.ieclib_c_path = self.findLibCPath() |
102 |
102 |
103 def findObject(self, paths, test): |
103 def findObject(self, paths, test): |
104 path = None |
104 path = None |
105 for p in paths: |
105 for p in paths: |
1470 |
1470 |
1471 self.IECdebug_lock.acquire() |
1471 self.IECdebug_lock.acquire() |
1472 # If no entry exist, create a new one with a fresh WeakKeyDictionary |
1472 # If no entry exist, create a new one with a fresh WeakKeyDictionary |
1473 IECdebug_data = self.IECdebug_datas.get(IECPath, None) |
1473 IECdebug_data = self.IECdebug_datas.get(IECPath, None) |
1474 if IECdebug_data is None: |
1474 if IECdebug_data is None: |
1475 IECdebug_data = [ |
1475 IECdebug_data = [ |
1476 WeakKeyDictionary(), # Callables |
1476 WeakKeyDictionary(), # Callables |
1477 [], # Data storage [(tick, data),...] |
1477 [], # Data storage [(tick, data),...] |
1478 "Registered", # Variable status |
1478 "Registered", # Variable status |
1479 None, |
1479 None, |
1480 buffer_list] # Forced value |
1480 buffer_list] # Forced value |