ctypes samples