Commit c332fbb3 authored by Stefan Behnel's avatar Stefan Behnel

Add docs comment that "verbatim" C code is at least parsed as normal docstring.

Closes #2484.
parent 60f4080a
......@@ -363,6 +363,10 @@ It is also possible to combine a header file and verbatim C code::
In this case, the C code ``#undef int`` is put right after
``#include "badheader.h"`` in the C code generated by Cython.
Note that the string is parsed like any other docstring in Python.
If you require character escapes to be passed into the C code file,
use a raw docstring, i.e. ``r""" ... """``.
Using Cython Declarations from C
================================
......
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