Native api reference and public header issue