Hello gentlemen:

I'm trying to translate the newest SQLite C header to D, and I stumbled unto this gem:
void (*(*xDlSym)(sqlite3_vfs*,void*, const char *zSymbol))(void);

What's that? A function pointer that takes another function pointer as its name? I'm stuck at this and I don't know how to convert it to a D function pointer. Certainly, the inner pointer is easy:
void (* function(sqlite3_vfs*,void*, const(char) *zSymbol) xDlSym)();

But what about the outer one? I am missing something?

Thanks in advance.

--
Yao G.

Reply via email to