From 370561d594cd5b444d8858f10baa7712bac6a534 Mon Sep 17 00:00:00 2001 From: Matthias Eble Date: Fri, 6 Jul 2007 23:03:39 +0000 Subject: Added hint to avoid using the boolean type in C as discussed on the devel list git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1748 f882894a-f735-0410-b71e-b25c423dba1c diff --git a/doc/developer-guidelines.sgml b/doc/developer-guidelines.sgml index 44fca24..7bfcc73 100644 --- a/doc/developer-guidelines.sgml +++ b/doc/developer-guidelines.sgml @@ -731,6 +731,10 @@ setup the tests. Run "make test" to run all the tests. You should use /* */ for comments and not // as some compilers do not handle the latter form. + + 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.
Crediting sources -- cgit v0.10-9-g596f