Contiguous memory blocks

Discussion in 'Python' started by panbru, Aug 5, 2003.

  1. panbru

    panbru Guest

    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
     
    panbru, Aug 5, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Olumide
    Replies:
    9
    Views:
    1,955
    Dan Pop
    Nov 30, 2004
  2. Gary Kuehn
    Replies:
    2
    Views:
    470
    Gary Kuehn
    Jul 19, 2005
  3. Phil Endecott
    Replies:
    9
    Views:
    482
    Abhishek Padmanabh
    Feb 21, 2008
  4. chachi
    Replies:
    2
    Views:
    416
    Aaron Brady
    Nov 14, 2008
  5. matt
    Replies:
    1
    Views:
    284
    George Ogata
    Aug 6, 2004
Loading...

Share This Page