Back to index

python3.2  3.2.2
Public Member Functions
ctypes.test.test_prototypes.ArrayTest Class Reference

List of all members.

Public Member Functions

def test

Detailed Description

Definition at line 205 of file test_prototypes.py.


Member Function Documentation

Definition at line 206 of file test_prototypes.py.

00206 
00207     def test(self):
00208         func = testdll._testfunc_ai8
00209         func.restype = POINTER(c_int)
00210         func.argtypes = c_int * 8,
00211 
00212         func((c_int * 8)(1, 2, 3, 4, 5, 6, 7, 8))
00213 
00214         # This did crash before:
00215 
00216         def func(): pass
00217         CFUNCTYPE(None, c_int * 3)(func)

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: