Line 26 was replaced by lines 26-27 |
- SetClassCast returns the message if it is a SetCallbackMsg or NULL otherwise. |
+ The members of callback message are all arguments needed for the handling of |
+ the callback. |
At line 27 added 3 lines. |
+ SetClassCast converts an anonymous message to an implementation. It returns |
+ the message if it is a SetCallbackMsg or NULL otherwise. |
+ |
Line 33 was replaced by line 37 |
- if (SetCallbackMsg *)msg)->class == SetCallbackClass) { |
+ if (((SetCallbackMsg *)msg)->class == setCallbackClass) { |
At line 50 added 4 lines. |
+ The text content of setCallbackClass is not very important, it may be used |
+ for logging purposes. Checking of a particular class should be done by comparing |
+ the pointers, not the contents. |
+ |