Reply
Thread Tools
Posts: 80 | Thanked: 9 times | Joined on Oct 2007
#1
I'm not sure if this question wasn't answered because of where I posted it. I'm pasting the link here.

http://talk.maemo.org/showthread.php?t=35758

Where can I get questions like these answers? Code related questions .i.e.
 
Posts: 654 | Thanked: 664 times | Joined on Feb 2009 @ Germany
#2
Originally Posted by jaywhy13 View Post
I'm not sure if this question wasn't answered because of where I posted it. I'm pasting the link here.

http://talk.maemo.org/showthread.php?t=35758

Where can I get questions like these answers? Code related questions .i.e.
Yes, those macros are basically casts. You don't _need_ them, but you should use them as they also check that the cast is a correct one. Because C doesn't have a build-in object system you can make invalid casts (e.g. cast a GtkButton to GtkWindow) without that the compiler tells you.
If you use those macros you will at least get runtime errors what/where it went wrong.

Not sure if this was understandable If not, please tell me...

Ah yea, and the "Development" forum is probably better suited then the "Community" forum. So here this thread should be fine
 

The Following 2 Users Say Thank You to conny For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 02:16.