Пример #1
0
 def append(self, obj):
     """Rast_append_history"""
     libraster.Rast_append_history(self.c_hist, ctypes.c_char_p(str(obj)))
Пример #2
0
 def append(self, obj):
     """Rast_append_history"""
     libraster.Rast_append_history(ctypes.byref(self.hist),
                                   ctypes.c_char_p(str(obj)))