[Nagiosplug-checkins] nagiosplug/doc developer-guidelines.sgml, 1.47, 1.48

Matthias Eble psychotrahe at users.sourceforge.net
Sat Jul 7 01:03:42 CEST 2007


Update of /cvsroot/nagiosplug/nagiosplug/doc
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv1853

Modified Files:
	developer-guidelines.sgml 
Log Message:
Added hint to avoid using the boolean type in C as discussed on the devel list


Index: developer-guidelines.sgml
===================================================================
RCS file: /cvsroot/nagiosplug/nagiosplug/doc/developer-guidelines.sgml,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- developer-guidelines.sgml	24 Jan 2007 23:18:04 -0000	1.47
+++ developer-guidelines.sgml	6 Jul 2007 23:03:39 -0000	1.48
@@ -731,6 +731,10 @@
 
 	<para>You should use /* */ for comments and not // as some compilers
 	do not handle the latter form.</para>
+
+	<para>You should also avoid using the type "bool" and its values
+	"true" and "false". Instead use the "int" type and the plugins' own
+	"TRUE"/"FALSE" values to keep the code uniformly.</para>
 	</section>
 
 	<section><title>Crediting sources</title>





More information about the Commits mailing list