File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -1988,17 +1988,17 @@ Utility functions
1988
1988
specifying an address, or a ctypes instance.
1989
1989
1990
1990
1991
- .. function :: POINTER(type)
1991
+ .. function :: POINTER(type, / )
1992
1992
1993
- This factory function creates and returns a new ctypes pointer type. Pointer
1994
- types are cached and reused internally, so calling this function repeatedly is
1995
- cheap. *type * must be a ctypes type.
1993
+ Create and return a new ctypes pointer type. Pointer types are cached and
1994
+ reused internally, so calling this function repeatedly is cheap.
1995
+ *type * must be a ctypes type.
1996
1996
1997
1997
1998
- .. function :: pointer(obj)
1998
+ .. function :: pointer(obj, / )
1999
1999
2000
- This function creates a new pointer instance, pointing to *obj *. The returned
2001
- object is of the type ``POINTER(type(obj)) ``.
2000
+ Create a new pointer instance, pointing to *obj *.
2001
+ The returned object is of the type ``POINTER(type(obj)) ``.
2002
2002
2003
2003
Note: If you just want to pass a pointer to an object to a foreign function
2004
2004
call, you should use ``byref(obj) `` which is much faster.
You can’t perform that action at this time.
0 commit comments