Commit ce9b5703 authored by Robert Bradshaw's avatar Robert Bradshaw

Complex define cleanup.

parent 1e04e77d
...@@ -1106,15 +1106,7 @@ proto=""" ...@@ -1106,15 +1106,7 @@ proto="""
complex_from_parts_utility_code = UtilityCode( complex_from_parts_utility_code = UtilityCode(
proto_block='utility_code_proto', proto_block='utility_code_proto',
proto=""" proto="""
#if CYTHON_CCOMPLEX static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s);
#ifdef __cplusplus
static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s);
#else
static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s);
#endif
#else
static INLINE %(type)s %(type_name)s_from_parts(%(real_type)s, %(real_type)s);
#endif
""", """,
impl=""" impl="""
#if CYTHON_CCOMPLEX #if CYTHON_CCOMPLEX
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment