Go to file
DaniTheSkunk 51fcee697d loading png 2022-12-22 09:05:39 +00:00
include loading png 2022-12-22 09:05:39 +00:00
src loading png 2022-12-22 09:05:39 +00:00
subprojects support emscripten compile 2022-12-21 14:01:04 +00:00
.clang-format loading png 2022-12-22 09:05:39 +00:00
.gitignore added zlib and libpng 2022-12-21 06:09:29 +00:00
CMakeLists.txt policy cmake 2022-12-21 06:52:39 +00:00
LICENSE Initial commit 2022-12-19 14:56:01 +01:00
README.md loading png 2022-12-22 09:05:39 +00:00
build.bat moved from cmake to meson 2022-12-21 11:38:50 +00:00
em.ini support emscripten compile 2022-12-21 14:01:04 +00:00
meson.build loading png 2022-12-22 09:05:39 +00:00
native.ini trying out meson instead of cmake 2022-12-21 11:09:42 +00:00
prebuild.bat moved from cmake to meson 2022-12-21 11:38:50 +00:00
prebuildem.bat support emscripten compile 2022-12-21 14:01:04 +00:00

README.md

skunkworks-c

code standard

snake_case for variables, function names, and struct names. always explicit struct, no typedefs. prefix struct members with _ (yes, its allowed, but within structs only) if "private". function order:

  • create functions(including unnamed value type ones)
  • destroy functions
  • empty line
  • static functions(ones that don't take object as parameter)
  • empty line
  • methods(ones that do take object as parameter)