471,120 Members | 1,562 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,120 software developers and data experts.

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.


Jul 18 '05 #1
0 1173

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

38 posts views Thread by Peteroid | last post: by
22 posts views Thread by divya_rathore_ | last post: by
22 posts views Thread by Jack | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.