now autogenerating a c exports file in a similar way to what luvit does.