On Fri, Nov 14, 2014 at 4:46 AM, Favian Contreras <f...@cornell.edu> wrote:
> Hello all,
>
> Does anyone know where the (c++) external declarations are parsed? I am
> specifically looking for where external function pointers are parsed by the
> compiler. I noticed that all functions are parsed in some way in Symtab.py,
> but this includes all of the inherited methods from python and the c files
> within Cython, and I'm thinking there is a more specific place where
> external function pointers parsed.

Look in Cython/Compiler/Parsing.py.
https://github.com/cython/cython/blob/04e462aa939e0d4639dd4feac5b7e6aeff8399ad/Cython/Compiler/Parsing.py#L2825

During the analyse_declarations phase they're placed in the module's
scope in Symtab.
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel

Reply via email to