From 8e2bbb8a330d29ed745e097374016815f9fed544 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 14 Nov 2009 12:55:41 +0100 Subject: Mention typedef struct in README.Coding --- README.Coding | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'README.Coding') diff --git a/README.Coding b/README.Coding index 2e7dd2f3f2..981da6c96c 100644 --- a/README.Coding +++ b/README.Coding @@ -233,3 +233,11 @@ new code should adhere to the following conventions: * Booleans are of type "bool" (not BOOL) * Boolean values are "true" and "false" (not True or False) * Exact width integers are of type [u]int[8|16|32|64]_t + + +Typedefs +-------- + +Samba tries to avoid "typedef struct { .. } x_t;", we always use +"struct x { .. };". We know there are still those typedefs in the code, +but for new code, please don't do that. -- cgit