def cursorAtSpaceEnd(block):
            cursor = QTextCursor(block)
            cursor.setPosition(block.position() + len(blockIndentation(block)))
            return cursor
def declare_with_name(name):
            class S(Structure):
                _fields_ = [(name, c_int)]