Personal all-purpose utility library
Go to file
2023-07-05 22:39:43 +10:00
Misc dqn: Organise into files and use an amalgamated build 2023-07-05 00:04:53 +10:00
_clang-format Inline the code directory 2021-08-09 09:03:15 +10:00
.gitignore Inline the code directory 2021-08-09 09:03:15 +10:00
build.bat dqn: Organise into files and use an amalgamated build 2023-07-05 00:04:53 +10:00
build.sh dqn: Forward Dqn_String8 implementation to Dqn_CString8 2022-10-15 17:12:13 +11:00
dqn_containers.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_containers.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_core.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_core.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_hash.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_hash.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_math.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_math.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_memory.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_memory.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_misc.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_misc.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_platform.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_platform.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_print.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_print.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_strings.cpp dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn_strings.h dqn: Add table of contents to each file 2023-07-05 22:39:43 +10:00
dqn.h dqn: Organise into files and use an amalgamated build 2023-07-05 00:04:53 +10:00
dqn.rdbg dqn: Organise into files and use an amalgamated build 2023-07-05 00:04:53 +10:00
readme.md dqn: Organise into files and use an amalgamated build 2023-07-05 00:04:53 +10:00

Dqn

Personal standard library that provides allocator aware data structures, custom memory allocators and various miscellaneous helpers for prototyping. The library is a unity-build style library where data structures and functions are separated by category into files for organisation. You only need to include dqn.h which amalgamates all the files into one translation unit.

Build

To build with this library, copy all the *.[h|cpp] files at the root of the repository and in one header file,

#include "dqn.h"

Which includes all other files and their declaration into your header. In one .cpp file defined the implementation macro to enable the implementation of the header in that translation unit,

#define DQN_IMPLEMENTATION
#include "dqn.h"

Ensure that the folder containing the files is part of the include search path for the compiler for the amalgamated dqn.h to successfully locate the files.