1 Star 0 Fork 0

告花子 / p11-kit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
CONTRIBUTING.md 1.59 KB
一键复制 编辑 原始数据 按行查看 历史

p11-kit -- Information about our contribution rules and coding style

Test suite

New functionality should be accompanied by a test case which verifies the correctness of p11-kit's operation on successful use of the new functionality, as well as on failure cases. The p11-kit test suite is run on "ninja test" if you use meson for building, or on "make check" if you use autotools.

Bug fixes should also come with a test case that exercises the code path that previously failed to operate. This prevents future regressions.

Coding style

In general, use the Linux kernel coding style, except that we put a space between function name and open parenthesis.

API documentation

Use gtk-doc for API documentation.

Library symbol versioning

We use the libtool versioning scheme to ensure ABI compatibility. If you add a new API function, update libp11-kit.map and libp11-kit-*.dll.def accordingly.

Resources:

1
https://gitee.com/gaohuazi/p11-kit.git
git@gitee.com:gaohuazi/p11-kit.git
gaohuazi
p11-kit
p11-kit
master

搜索帮助