[plt-planet-announce] Updated PLaneT package: synx/pointer-address.plt for 3xx, 4.x

From: PLaneT (planet at plt-scheme.org)
Date: Mon Dec 7 23:31:31 EST 2009

This announces the availability of an updated package from PLaneT:

-------
Name:            pointer-address.plt
Package version: 1.1
Owner:           synx


Package Description
The address of a C pointer
Release Notes
The address of a C pointer
This module exposes the address of a C pointer as an integer. plt does not normally do this for some reason, so a C extension was necessary. You can use this integer to hash pointers perhaps, such that no two pointers with the same address will have that hash. Or you could display the pointer's address to debug whether or not you are freeing the right one. It's useful for uniquely and completely differentiating C pointers, even if the _cpointer structures that contain them are not eq?. Incidentally if two addresses are equal, then ptr-equal? should always return #t.

-------

Go to 

http://planet.plt-scheme.org/display.ss?package=pointer-address.plt&owner=synx

for more information.


Posted on the planet-announce mailing list.