Skip to main content
gamedev.net
🔒 Locked

typedef function pointers?

Started by EvilCrap 1 reply 350+ views
Original Post
EvilCrap
EvilCrap
how do i make a typedef for a function pointer? typedef void(*)() pFunc; //doesnt work #define void(*)() pFunc; //Obviously wont work i know its possible, how is it done?
Martee
Martee
typedef void (*pFunc) ();
ReactOS - an Open-source operating system compatible with Windows NT apps and drivers
EvilCrap
EvilCrap
ahh
thanks

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.