How to define a embedded generic record?

A C struct defined as following:

struct Node XX {
int id;
t* prev, next;

Now I want to define it in free pascal language:

generic XX<_T> = record
id : Integer;
prev, next : ^_T; //error

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!