REFACTOR: Completely refactored and fixed the error handling

This commit is contained in:
2026-10-08 13:25:26 -04:00
parent 4bc6efd89e
commit b39911f57e
10 changed files with 1041 additions and 973 deletions
+2 -2
View File
@@ -17,12 +17,12 @@ add_library(libvec STATIC
target_include_directories(libvec
# PRIVATE: Internal headers under src/lib are only visible
# to files being compiled into libvec (char.c, utils.c, libvec.c).
PRIVATE
${CMAKE_CURRENT_SOURCE_DIR}/src/lib
# PRIVATE
# PUBLIC: Consumers (and test_runner) are granted access ONLY to include/
PUBLIC
${CMAKE_CURRENT_SOURCE_DIR}/include
${CMAKE_CURRENT_SOURCE_DIR}/src/lib # Turn back to private when ready
)
add_executable(libvec_bin src/main.c)