# HG changeset patch
# User Edouard Tisserant
# Date 1362963055 -32400
# Node ID c4550f76ae0507c3ff5788187e2f1361377e91bb
# Parent  0dd89c8eeef5b7d9f78839970bebfc679dfc07ce
reverted PLCObject.py. ctypes.POINTER(ctypes.c_uint8) != string

diff -r 0dd89c8eeef5 -r c4550f76ae05 runtime/PLCObject.py
--- 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