How to define a embedded generic record? - Programmers Heaven

Howdy, Stranger!

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

Categories

How to define a embedded generic record?

martinludemartinlude Posts: 1Member
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
end;

How?
Sign In or Register to comment.