define_macro.pyx 192 Bytes
Newer Older
Stefan Behnel's avatar
Stefan Behnel committed
1
#distutils: define_macros = DEFINE_NO_VALUE  DEFINE_WITH_VALUE=0
2 3 4 5 6 7 8 9 10 11

cdef extern from "define_macro_helper.h" nogil:
    int VAL;

def test():
    """
    >>> test()
    1
    """
    return VAL