From p.singleton@keele.ac.uk  Thu Feb 10 00:03:53 2000
Received: from cmailg4.svr.pol.co.uk (cmailg4.svr.pol.co.uk [195.92.195.174])
	by swi.psy.uva.nl (8.9.3/8.9.3) with ESMTP id AAA16923
	for <prolog@swi.psy.uva.nl>; Thu, 10 Feb 2000 00:03:53 +0100 (MET)
Received: from modem4294967170.fashion.dialup.pol.co.uk ([195.92.4.254] helo=keele.ac.uk)
	by cmailg4.svr.pol.co.uk with esmtp (Exim 3.13 #0)
	id 12Ig9d-0007La-00
	for prolog@swi.psy.uva.nl; Wed, 09 Feb 2000 23:04:13 +0000
Message-ID: <38A1F268.52BC2A0@keele.ac.uk>
Date: Wed, 09 Feb 2000 23:04:08 +0000
From: Paul Singleton <p.singleton@keele.ac.uk>
Organization: SmartArts Computing Consultancy
X-Mailer: Mozilla 4.7 [en] (WinNT; I)
X-Accept-Language: en
MIME-Version: 1.0
To: SWI Prolog <prolog@swi.psy.uva.nl>
Subject: pointers as integers
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Is this true in 3.3?

 "In the current system, pointers are represented by Prolog integers,
 but need some manipulation to make sure they do not get truncated due
 to the limited Prolog integer range. PL_put_pointer()/PL_get_pointer()
 guarantees pointers in the range of malloc() are handled without
 truncating.

I've had no problems with Win32 versions; should I nevertheless use
PL_***_pointer() for portability?

Paul Singleton

