POULibrary.py
changeset 2744 577118ebd179
parent 2645 d15a997859b1
child 3302 c89fc366bebd
equal deleted inserted replaced
2743:748b96d71d62 2744:577118ebd179
    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)