summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/workflow.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/workflow.txt b/doc/workflow.txt
index ee4afb95..e48375bb 100644
--- a/doc/workflow.txt
+++ b/doc/workflow.txt
@@ -21,6 +21,14 @@ int * a;
instead of
int *a;
+- don't explicitly cast malloc, but do
+
+your * = malloc (sizeof *your * len);
+
+- when checking for invalid pointers use
+
+if (ptr == NULL), instead of if (!ptr)
+
3. Development workflow
Git is used as a version tooling for the code. Releases are identified