File: pxd_signature_mismatch.pxd

package info (click to toggle)
cython 3.0.11%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 19,092 kB
  • sloc: python: 83,539; ansic: 18,831; cpp: 1,402; xml: 1,031; javascript: 511; makefile: 403; sh: 204; sed: 11
file content (35 lines) | stat: -rw-r--r-- 916 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# OK

cdef int wider_exception_check(int x, int y) except? 0

cdef int no_exception_raised(int x, int y) except *

cdef int any_exception_value1(int x, int y) except *

cdef int any_exception_value2(int x, int y) except *

cdef int any_exception_value3(int x, int y) except *

cdef int any_exception_value4(int x, int y) except *

cdef int optimised_exception_value(int x, int y) except? -1

# NOK

cdef int wrong_args(int x, long y)

cdef long wrong_return_type(int x, int y)

cdef int foreign_exception_value(int x, int y) except 0

cdef int narrower_exception_check(int x, int y) except 0

cdef int wrong_exception_value(int x, int y) except 0

cdef int wrong_exception_value_check(int x, int y) except 0

cdef int wrong_exception_value_optimised_check(int x, int y) except? -2

cdef int wrong_exception_value_optimised(int x, int y) except -2

cdef int narrower_exception_check_optimised(int x, int y) except -1