TRANSEFER LCPD FROM PYTHON TO C