reverted PLCObject.py. ctypes.POINTER(ctypes.c_uint8) != string
--- a/runtime/PLCObject.py Sun Mar 10 20:29:55 2013 +0100
+++ b/runtime/PLCObject.py Mon Mar 11 09:50:55 2013 +0900
@@ -188,7 +188,7 @@
self._LogMessage = self.PLClibraryHandle.LogMessage
self._LogMessage.restype = ctypes.c_int
- self._LogMessage.argtypes = [ctypes.c_uint8, ctypes.POINTER(ctypes.c_uint8), ctypes.c_uint32]
+ self._LogMessage.argtypes = [ctypes.c_uint8, ctypes.c_char_p, ctypes.c_uint32]
self._log_read_buffer = ctypes.create_string_buffer(1<<14) #16K
self._GetLogMessage = self.PLClibraryHandle.GetLogMessage