Skip to content

Instantly share code, notes, and snippets.

@eltjpm
Created July 18, 2013 23:04
Show Gist options
  • Save eltjpm/6033854 to your computer and use it in GitHub Desktop.
Save eltjpm/6033854 to your computer and use it in GitHub Desktop.
--- numba-0.8.1/gen_type_conversion.py 2013-05-03 10:59:52.000000000 -0400
+++ numba/gen_type_conversion.py 2013-07-18 17:59:59.000000000 -0400
@@ -122,8 +122,8 @@
def generate_conversions(out_c, out_h):
"Generate numba/external/utilities/generated_conversions.c"
out_c.write("/* This file is generated by %s, do not edit */\n" %
- os.path.abspath(__file__))
- out_c.write('#include "%s"\n\n' % out_h.name)
+ __file__)
+ out_c.write('#include "generated_conversions.h"\n\n')
for exact_type_name, exact_type in exact_types:
for signedness in signednesses:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment