added void function and macro to c wrapper