Hello all, I'm new on the Nemiver mailing list, I haven't written any code in Nemiver yet, so maybe I shouldn't comment on the code here, but I'm wondering what is the idea behind changing all NULL's to 0's?
As far as I know NULL equal to 0 is platform dependent, but on most platforms probably it's indeed 0. Different thing is that IMO using NULL makes sometimes code easier to read, and for example if in the future compilers will start to enforce semantically null pointers being really NULL then all 0's will need to be turned into NULL's once again. Sorry for the digression, I'm just curious myself what should be the right approach here. Best regards, Tomasz Kupczyk 2011/8/1 Dodji Seketeli <[email protected]>: > Fabien Parent <[email protected]> a écrit: > >> From: Fabien Parent <[email protected]> >> Date: Sat, 30 Jul 2011 15:38:55 +0200 >> Subject: [PATCH] Replace NULL symbol with 0 > > This is OK to apply to gtk2-branch and master. > > Thanks. > > -- > Dodji > _______________________________________________ > nemiver-list mailing list > [email protected] > http://mail.gnome.org/mailman/listinfo/nemiver-list > _______________________________________________ nemiver-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/nemiver-list
