Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)
Utility code written in the Cython language itself.

The @cname decorator can set the cname for a function, method of cdef class.
Functions decorated with @cname('c_func_name') get the given cname.

For cdef classes the rules are as follows:
    obj struct      -> <cname>_obj
    obj type ptr    -> <cname>_type
    methods         -> <class_cname>_<method_cname>
(more...)

src/c/y/Cython-0.20.1/Cython/Compiler/Buffer.py   Cython(Download)
from Cython.Compiler.Visitor import CythonTransform
from Cython.Compiler.ModuleNode import ModuleNode
from Cython.Compiler.Errors import CompileError
from Cython.Compiler.UtilityCode import CythonUtilityCode
from Cython.Compiler.Code import UtilityCode, TempitaUtilityCode

src/c/y/cython-HEAD/Cython/Compiler/Buffer.py   cython(Download)
from Cython.Compiler.Visitor import CythonTransform
from Cython.Compiler.ModuleNode import ModuleNode
from Cython.Compiler.Errors import CompileError
from Cython.Compiler.UtilityCode import CythonUtilityCode
from Cython.Compiler.Code import UtilityCode, TempitaUtilityCode