@@ -11,20 +11,20 @@ src_c/bufferproxy.c
11
11
12
12
This extension module defines Python type :py:class: `pygame.BufferProxy `.
13
13
14
- Header file: src_c/include/pygame_bufferproxy .h
14
+ Header file: src_c/include/pygame .h
15
15
16
16
17
- .. c :var :: PyTypeObject *pgBufproxy_Type
17
+ .. c :var :: PyTypeObject *pgBufferProxy_Type
18
18
19
19
The pygame buffer proxy object type pygame.BufferProxy.
20
20
21
- .. c :function :: int pgBufproxy_Check (PyObject *x)
21
+ .. c :function :: int pgBufferProxy_Check (PyObject *x)
22
22
23
23
Return true if Python object *x * is a :py:class: `pygame.BufferProxy ` instance,
24
24
false otherwise.
25
25
This will return false on :py:class: `pygame.BufferProxy ` subclass instances as well.
26
26
27
- .. c :function :: PyObject* pgBufproxy_New (PyObject *obj, getbufferproc get_buffer)
27
+ .. c :function :: PyObject* pgBufferProxy_New (PyObject *obj, getbufferproc get_buffer)
28
28
29
29
Return a new :py:class: `pygame.BufferProxy ` instance.
30
30
Argument *obj * is the Python object that has its data exposed.
@@ -33,13 +33,13 @@ Header file: src_c/include/pygame_bufferproxy.h
33
33
It must not be ``NULL ``.
34
34
On failure raise a Python error and return ``NULL ``.
35
35
36
- .. c :function :: PyObject* pgBufproxy_GetParent (PyObject *obj)
36
+ .. c :function :: PyObject* pgBufferProxy_GetParent (PyObject *obj)
37
37
38
38
Return the Python object wrapped by buffer proxy *obj *.
39
39
Argument *obj * must not be ``NULL ``.
40
40
On failure, raise a Python error and return ``NULL ``.
41
41
42
- .. c :function :: int pgBufproxy_Trip (PyObject *obj)
42
+ .. c :function :: int pgBufferProxy_Trip (PyObject *obj)
43
43
44
44
Cause the buffer proxy object *obj * to create a :c:type: `pg_buffer ` view of its parent.
45
45
Argument *obj * must not be ``NULL ``.
0 commit comments