From 00e904539e8e25298ab5f6c3f0b775c8499dc271 Mon Sep 17 00:00:00 2001 From: bicarus <202771338+bicarus-dev@users.noreply.github.com> Date: Sat, 5 Sep 2026 17:20:02 -0700 Subject: [PATCH] Update C writing guidelines in CONTRIBUTING.md Clarified guidelines for writing in C, emphasizing RAII patterns. --- CONTRIBUTING.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 17a64d45..9bde1832 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -105,5 +105,5 @@ if (conditional) * We don't use GSL. * Don't throw exceptions. * Stick to smart pointers. For interfacing with C Win32 API and raw buffers, use `unique_plain_ptr`. - * Writing in C is also completely acceptable. + * Writing in C is also completely acceptable but prefer to use RAII patterns. * Other than that, there are no strict rules for code formatting, but please attempt to emulate the style around the code you are modifying.