From c81aca8a2cd7b6a1ac07230b7a2b210f039d79a3 Mon Sep 17 00:00:00 2001 From: Nathan Hui Date: Fri, 9 Feb 2024 16:21:34 -0800 Subject: [PATCH] docs: Adds return value convention --- CONTRIBUTING | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/CONTRIBUTING b/CONTRIBUTING index 9a2a30c3..ca06f9da 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -37,3 +37,8 @@ Includes should be organized in the following order: 4. Platform headers Where C system headers are used, prefer the C style header over the C++ style header (e.g. string.h over cstring) + +## Return Values +Prefer returning error codes. + +Error codes may be defined by documentation or by enumeration. \ No newline at end of file