$10 GRAYBYTE WORDPRESS FILE MANAGER $49

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.43.35 | ADMIN IP 216.73.216.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python27/include/python2.7/

HOME
Current File : /opt/alt/python27/include/python2.7//memoryobject.h
/* Memory view object. In Python this is available as "memoryview". */

#ifndef Py_MEMORYOBJECT_H
#define Py_MEMORYOBJECT_H
#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PyMemoryView_Type;

#define PyMemoryView_Check(op) (Py_TYPE(op) == &PyMemoryView_Type)

/* Get a pointer to the underlying Py_buffer of a memoryview object. */
#define PyMemoryView_GET_BUFFER(op) (&((PyMemoryViewObject *)(op))->view)
/* Get a pointer to the PyObject from which originates a memoryview object. */
#define PyMemoryView_GET_BASE(op) (((PyMemoryViewObject *)(op))->view.obj)


PyAPI_FUNC(PyObject *) PyMemoryView_GetContiguous(PyObject *base, 
						  int buffertype, 
						  char fort);

    /* Return a contiguous chunk of memory representing the buffer
       from an object in a memory view object.  If a copy is made then the
       base object for the memory view will be a *new* bytes object. 
       
       Otherwise, the base-object will be the object itself and no 
       data-copying will be done. 

       The buffertype argument can be PyBUF_READ, PyBUF_WRITE,
       PyBUF_SHADOW to determine whether the returned buffer
       should be READONLY, WRITABLE, or set to update the
       original buffer if a copy must be made.  If buffertype is
       PyBUF_WRITE and the buffer is not contiguous an error will
       be raised.  In this circumstance, the user can use
       PyBUF_SHADOW to ensure that a writable temporary
       contiguous buffer is returned.  The contents of this
       contiguous buffer will be copied back into the original
       object after the memoryview object is deleted as long as
       the original object is writable and allows setting an
       exclusive write lock. If this is not allowed by the
       original object, then a BufferError is raised.
       
       If the object is multi-dimensional and if fortran is 'F',
       the first dimension of the underlying array will vary the
       fastest in the buffer.  If fortran is 'C', then the last
       dimension will vary the fastest (C-style contiguous).  If
       fortran is 'A', then it does not matter and you will get
       whatever the object decides is more efficient.  

       A new reference is returned that must be DECREF'd when finished.
    */

PyAPI_FUNC(PyObject *) PyMemoryView_FromObject(PyObject *base);

PyAPI_FUNC(PyObject *) PyMemoryView_FromBuffer(Py_buffer *info);
    /* create new if bufptr is NULL 
        will be a new bytesobject in base */


/* The struct is declared here so that macros can work, but it shouldn't
   be considered public. Don't access those fields directly, use the macros
   and functions instead! */
typedef struct {
    PyObject_HEAD
    PyObject *base;
    Py_buffer view;
} PyMemoryViewObject;


#ifdef __cplusplus
}
#endif
#endif /* !Py_MEMORYOBJECT_H */


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
3 Mar 2024 10.48 PM
root / root
0755
Python-ast.h
20.618 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
Python.h
4.272 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
abstract.h
44.165 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
asdl.h
1.073 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ast.h
0.225 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bitset.h
0.773 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
boolobject.h
0.891 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bufferobject.h
0.9 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bytearrayobject.h
1.896 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bytes_methods.h
2.738 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
bytesobject.h
1.125 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cStringIO.h
1.958 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cellobject.h
0.636 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ceval.h
4.942 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
classobject.h
2.932 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
cobject.h
2.861 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
code.h
4.304 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
codecs.h
6.026 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
compile.h
1.04 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
complexobject.h
1.81 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
datetime.h
8.118 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
descrobject.h
2.422 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dictobject.h
6.73 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
dtoa.h
0.33 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
enumobject.h
0.247 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
errcode.h
1.366 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
eval.h
0.544 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
fileobject.h
3.576 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
floatobject.h
5.493 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
frameobject.h
3.178 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
funcobject.h
2.925 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
genobject.h
0.87 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
graminit.h
1.872 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
grammar.h
2.003 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
import.h
2.171 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
intobject.h
2.906 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
intrcheck.h
0.268 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
iterobject.h
0.51 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
listobject.h
2.509 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
longintrepr.h
3.815 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
longobject.h
5.673 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
marshal.h
0.696 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
memoryobject.h
2.757 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
metagrammar.h
0.247 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
methodobject.h
3.276 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
modsupport.h
4.906 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
moduleobject.h
0.595 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
node.h
0.916 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
object.h
39.12 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
objimpl.h
14.002 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
opcode.h
4.701 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
osdefs.h
1.034 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
parsetok.h
1.738 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
patchlevel.h
1.416 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pgen.h
0.247 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pgenheaders.h
1.152 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
py_curses.h
4.173 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyarena.h
2.63 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pycapsule.h
1.64 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyconfig-64.h
36.942 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyconfig.h
0.158 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyctype.h
1.238 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pydebug.h
1.291 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyerrors.h
11.466 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyexpat.h
2.067 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyfpe.h
8.272 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pygetopt.h
0.34 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pymacconfig.h
2.919 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pymactoolbox.h
8.426 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pymath.h
7.16 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pymem.h
4.602 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pyport.h
31.795 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pystate.h
6.253 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pystrcmp.h
0.452 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pystrtod.h
1.545 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pythonrun.h
7.064 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
pythread.h
1.128 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
rangeobject.h
0.631 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
setobject.h
3.005 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sliceobject.h
1.642 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
stringobject.h
7.792 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
structmember.h
2.833 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
structseq.h
0.842 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
symtable.h
3.637 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
sysmodule.h
0.845 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
timefuncs.h
0.528 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
token.h
1.757 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
traceback.h
0.681 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
tupleobject.h
2.124 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
ucnhash.h
0.902 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
unicodeobject.h
51.003 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
warnings.h
0.62 KB
8 Jan 2025 10.43 AM
root / linksafe
0644
weakrefobject.h
2.735 KB
8 Jan 2025 10.43 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF