Contiguous memory blocks

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • panbru

    Contiguous memory blocks

    I'm doing some native code stuff and want to pass continguos memory
    blocks of data back and forth between Python and C, with the memory
    blocks modifiable in both realms. What is a good way to do that?

    As I understand it, "buffer interface" objects (e.g. strings or arrays)
    won't work because memory is not guaranteed to be continguous.

    Tim

Working...