[+++] use C definitions instead of copy...
[+++] no more Ptr functions...
[*] malloc -> zmalloc & free -> zfree