Hey guys

For my current project, I need to be able to make a list of method pointers.

Lets say I have these method types

[pascal]
{:: TnaEventHookProc ::}
TnaEventHookFunc = function (aEvent: Pointer): Boolean of object;
PnaEventHookFunc = ^TnaEventHookFunc;

{:: TnaUpdateProc ::}
TnaUpdateProc = procedure of object;
PnaUpdateProc = ^TnaUpdateProc;
[/pascal]

I want to be able to store methods of these types on lists and call them all at once with the same paramters. Because these are methods (and not just functions/procedures) the variables are not just pointers. The are infact 8 bytes (contain a pointer to the procedure and one to the "Self" object).

Can anyone think of a way to make a list datastructure for this? I'm not very good with method-vars.

Thanks in advance.