pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jrl@msbit.com
To: pgsql-interfaces@hub.org
Cc: James@msbit.com, Thompson@msbit.com, <jamest@math.ksu.edu>
Subject: Re: Odd program behaviour
Date: Mon, 8 Mar 1999 14:31:50 -0800 (PST)
Message-ID: <199903082231.OAA08282@nero.msbit.com> (raw)

We ran into similar problems integrating a third party library into a perl
application with SWIG. There appeared to be some confusion between perl and
SWIG over references/pointers and allocating memory for the referred/pointed to
object. We worked around the problem by making sure the memory allocation
happened in perl (by initializing the reference with a suitably large object).




view thread (3+ messages)

Message-ID: <199903082231.OAA08282@nero.msbit.com>
Permalink:  ../199903082231.OAA08282@nero.msbit.com/
Also on:    postgresql.org/message-id/199903082231.OAA08282@nero.msbit.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: jrl@msbit.com, pgsql-interfaces@hub.org, jamest@math.ksu.edu
  Subject: Re: Odd program behaviour
  In-Reply-To: <199903082231.OAA08282@nero.msbit.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox