#define MSG_ID(method) ( ( offsetof( struct MyInterface, _##method ) / sizeof( void(*)(void) ) ) + BASE_MESSAGE_ID + MSG_EventUser )
this is a fun thing, in order to use it, undefine MyInterface, and define your own to your library's interface structure name (the tag of the structure)
Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at
support@toolsfactory.com.|
Copyright (c) 2000+. All rights reserved.
|
|
What do you think about this topic? Send feedback!
|