Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Contiguous memory blocks

Reply
Thread Tools

Contiguous memory blocks

 
 
panbru
Guest
Posts: n/a
 
      08-05-2003
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

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Routing Question - Non-contiguous IP Blocks Edumac Cisco 1 09-01-2005 04:41 PM
Is Vector Reserve guaranteed to allocate contiguous memory? Gary Kuehn C++ 2 07-19-2005 12:42 AM
Are array members guaranteed to be contiguous in physical memory? Olumide C Programming 9 11-30-2004 02:54 PM
procs/blocks - blocks with procs, blocks with blocks? matt Ruby 1 08-06-2004 01:33 AM



Advertisments