added set_diagnostic_output_callback
create a IAAF pointer, no need to cast