digitalmars.D - _based pointers in D?
- Robert <robert.muench robertmuench.de> Jun 03 2010
Hi, is there a similar construct like a _based pointer in D?
type __based( base ) declarator
void *vpBuffer;
struct llist_t
{
void __based( vpBuffer ) *vpData;
struct llist_t __based( vpBuffer ) *llNext;
};
The pointer vpBuffer is assigned the address of memory allocated at
some later point in the program. The linked list is relocated relative
to the value of vpBuffer.
--
Robert M. Münch
http://www.robertmuench.de
Jun 03 2010








Robert <robert.muench robertmuench.de>