py_ext/PythonFileCTNMixin.py
changeset 1902 2b7e2db31d81
parent 1901 e8cf68d69447
child 2418 5587c490a070
equal deleted inserted replaced
1901:e8cf68d69447 1902:2b7e2db31d81
   169 # -*- coding: utf-8 -*-
   169 # -*- coding: utf-8 -*-
   170 ## Code generated by Beremiz python mixin confnode
   170 ## Code generated by Beremiz python mixin confnode
   171 ##
   171 ##
   172 
   172 
   173 ## Code for PLC global variable access
   173 ## Code for PLC global variable access
   174 from targets.typemapping import TypeTranslator
   174 from runtime.typemapping import TypeTranslator
   175 import ctypes
   175 import ctypes
   176 _%(pyextname)sGlobalsDesc = []
   176 _%(pyextname)sGlobalsDesc = []
   177 __ext_name__ = "%(pyextname)s"
   177 __ext_name__ = "%(pyextname)s"
   178 PLCGlobalsDesc.append(( "%(pyextname)s" , _%(pyextname)sGlobalsDesc ))
   178 PLCGlobalsDesc.append(( "%(pyextname)s" , _%(pyextname)sGlobalsDesc ))
   179 %(globalstubs)s
   179 %(globalstubs)s