[+] needed changes for working in extern "C" block...