use raw type for nestegg_set_halloc_func rather than having to export a typedef from halloc.h