POULibrary.py
branchsvghmi
changeset 3266 aff5cedb35ba
parent 2981 a0932a52e53b
child 3302 c89fc366bebd
equal deleted inserted replaced
3265:f3cb352048b6 3266:aff5cedb35ba
    61 
    61 
    62     def Generate_C(self, buildpath, varlist, IECCFLAGS):
    62     def Generate_C(self, buildpath, varlist, IECCFLAGS):
    63         # Pure python or IEC libs doesn't produce C code
    63         # Pure python or IEC libs doesn't produce C code
    64         return ((""), [], False), ""
    64         return ((""), [], False), ""
    65 
    65 
       
    66     def GlobalInstances(self):
       
    67         """
       
    68         @return: [(instance_name, instance_type),...]
       
    69         """
       
    70         return []
       
    71 
    66     def FatalError(self, message):
    72     def FatalError(self, message):
    67         """ Raise an exception that will trigger error message intended to 
    73         """ Raise an exception that will trigger error message intended to 
    68             the user, but without backtrace since it is not a software error """
    74             the user, but without backtrace since it is not a software error """
    69 
    75 
    70         raise UserAddressedException(message)
    76         raise UserAddressedException(message)