Currently we do not have strict coding-style in the project.
Just couple simple rules:
- seperate each function with two lines.
- put public declaration in headers inside
include
dir. - put private/internal declarations in headers inside
src
dir. - prefix public functions with
pd_
and private withpd__
(use two underscores for private). - use "unix" style lowercase function names (for example: NOT
SayHello
butpd_say_hello
).
Project uses CMake for generating build files.
mkdir build
cd build
cmake ..
make
Keep commits short (under 50 characters) and use conventional-commits. For now commit scope is usually platform (unix
or win32
).
<type>[optional scope]: <description>
Example commit:
feat(win32): implement async file read