gen_export can be given raw ptr to generated table