Split the libmem.h APIs into the same API types as in src.
For example, create process.h, module.h, etc, and include all of those in libmem.h.
This will enable faster compilation when needing to modify a specific API header: if you modify libmem.h now, everything that includes it will be recompiled. If you split it into multiple headers, only the things that include the modified header will be recompiled, which is faster.
Split the libmem.h APIs into the same API types as in
src
. For example, createprocess.h
,module.h
, etc, and include all of those inlibmem.h
. This will enable faster compilation when needing to modify a specific API header: if you modifylibmem.h
now, everything that includes it will be recompiled. If you split it into multiple headers, only the things that include the modified header will be recompiled, which is faster.