コード例 #1
0
ファイル: shadow.py プロジェクト: bhy/cython-haoyu
def test_imports():
    """
    >>> test_imports()
    True
    """
    a = cython.NULL
    b = declare(p_void, cython.NULL)
    c = my_declare(my_void_star, cython.NULL)
    d = cy.declare(cy.p_void, cython.NULL)
    return a == d and compiled == my_compiled == cy.compiled
コード例 #2
0
def test_imports():
    """
    >>> test_imports()
    (True, True)
    """
    a = cython.NULL
    b = declare(p_void, cython.NULL)
    c = my_declare(my_void_star, cython.NULL)
    d = cy.declare(cy.p_void, cython.NULL)

    return a == d, compiled == my_compiled
コード例 #3
0
ファイル: pure_py.py プロジェクト: ekohl/essig
def test_imports():
    """
    >>> test_imports()  # (True, True)
    True
    """
    a = cython.NULL
    b = declare(p_void, cython.NULL)
    c = my_declare(my_void_star, cython.NULL)
    d = cy.declare(cy.p_void, cython.NULL)

    ## CURRENTLY BROKEN - FIXME!!
    # return a == d, compiled == my_compiled

    return compiled == my_compiled