pybuffer Questions

1

I'm working in with a C library that repeatedly calls a user supplied function pointer to get more data. I'd like to write a Cython wrapper in such a way that the Python implementation of that call...
Bellina asked 20/4, 2013 at 17:0

1

I am in the process of extending the classes in our library (which supports Python 2.7) to support PEP 3118, which has been back-ported to 2.7. From the documentation, I need to initialize the tp...
Envelopment asked 7/10, 2013 at 11:29

1

Solved

I am quite confused with the term 'buffer Interface' in python. what does it mean to say that " A python object exposing its underlying memory structure' can someone explain with an example. Thanks...
Greensboro asked 5/7, 2013 at 18:48

1

Solved

This question is related to a previous question I asked. Namely this one if anyone is interested. Basically, what I want to do is to expose a C array to Python using a Py_buffer wrapped in a memory...
Chisholm asked 6/3, 2013 at 10:5

1

Solved

I am trying to expose a buffer of image pixel information (32 bit RGBA) through the Python 3.x buffer interface. After quite a bit of playing around, I was able to get this working like so: int Im...
Murrell asked 19/2, 2010 at 14:36
1

© 2022 - 2024 — McMap. All rights reserved.