U
    «Ì0e  ã                   @   s   d dl mZ edfdd„ZdS )é    )ÚC99CodePrinterNc                 C   s8   ||pi ƒ}|  | ¡}d dd„ |jD ƒ¡}|d | S )z= Renders a C source file (with required #include statements) Ú
c                 S   s   g | ]}d | ‘qS )z#include <%s>© )Ú.0Úhr   r   ú8/tmp/pip-unpacked-wheel-_6tpq7m6/sympy/codegen/cutils.pyÚ
<listcomp>   s     z)render_as_source_file.<locals>.<listcomp>z

)ZdoprintÚjoinÚheaders)ÚcontentZPrinterÚsettingsÚprinterZcode_strZincludesr   r   r   Úrender_as_source_file   s    
r   )Zsympy.printing.cr   r   r   r   r   r   Ú<module>   s   