Skip to content
This repository was archived by the owner on Nov 2, 2023. It is now read-only.

Latest commit

 

History

History
35 lines (23 loc) · 575 Bytes

File metadata and controls

35 lines (23 loc) · 575 Bytes

Code style

Language

Everything should be named in English (en_US).

Comments

// Temporary comment
// TODO: Things to do
/* Definitive comment */

Imports

In module_name.h: Only import required local modules (e.g.: #include "other.h")

In module_name.c: Import required system modules (e.g.: #include <stdio.h>), and only the header for this module (only #include "module_name.h", no other local module)

Function name

void module_name_function_name();

Struct name (or enum)

typedef struct {

} MyStruct;