Skip to content

Commit

Permalink
added dirtrav_iterate_roots() and dirtravw_iterate_roots()
Browse files Browse the repository at this point in the history
  • Loading branch information
brechtsanders committed Dec 15, 2021
1 parent 793f587 commit 2330c60
Show file tree
Hide file tree
Showing 34 changed files with 527 additions and 106 deletions.
6 changes: 6 additions & 0 deletions Changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
0.2.14

2021-12-15 Brecht Sanders https://github.com/brechtsanders/

* added dirtrav_iterate_roots() and dirtravw_iterate_roots()

0.2.13

2021-12-14 Brecht Sanders https://github.com/brechtsanders/
Expand Down
3 changes: 3 additions & 0 deletions build/libdirtrav.workspace
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
<Project filename="test3.cbp">
<Depends filename="libdirtrav_static.cbp" />
</Project>
<Project filename="test3w.cbp">
<Depends filename="libdirtravw_static.cbp" />
</Project>
<Project filename="tree.cbp">
<Depends filename="libdirtrav_static.cbp" />
</Project>
Expand Down
12 changes: 6 additions & 6 deletions build/libdirtrav_nowin_shared.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Option extended_obj_names="1" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/liblibdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug/libdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
Expand All @@ -19,7 +19,7 @@
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/liblibdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release/libdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
Expand All @@ -33,7 +33,7 @@
</Linker>
</Target>
<Target title="Debug32">
<Option output="bin/Debug32/liblibdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug32/libdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug32/" />
<Option type="3" />
<Option compiler="MINGW32" />
Expand All @@ -44,7 +44,7 @@
</Compiler>
</Target>
<Target title="Release32">
<Option output="bin/Release32/liblibdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release32/libdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release32/" />
<Option type="3" />
<Option compiler="MINGW32" />
Expand All @@ -58,7 +58,7 @@
</Linker>
</Target>
<Target title="Debug64">
<Option output="bin/Debug64/liblibdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug64/libdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug64/" />
<Option type="3" />
<Option compiler="MINGW64" />
Expand All @@ -69,7 +69,7 @@
</Compiler>
</Target>
<Target title="Release64">
<Option output="bin/Release64/liblibdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release64/libdirtrav_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release64/" />
<Option type="3" />
<Option compiler="MINGW64" />
Expand Down
28 changes: 28 additions & 0 deletions build/libdirtrav_nowin_shared.depend
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# depslib dependency file v1.0
1639557525 source:z:\libdirtrav\src\dirtrav.c
"dirtrav_version.h"
<string.h>
<sys/types.h>
<dirent.h>
<sys/stat.h>
<windows.h>
<sddl.h>
<sys/types.h>
<pwd.h>
<unistd.h>
"dirtrav.h"
"dirtravw.h"
<windows.h>

1639552957 z:\libdirtrav\include\dirtrav_version.h

1639554823 z:\libdirtrav\include\dirtrav.h
<stdlib.h>
<stdint.h>
<sys/stat.h>

1639557419 z:\libdirtrav\include\dirtravw.h
<stdlib.h>
<stdint.h>
<sys/stat.h>
<wchar.h>

12 changes: 6 additions & 6 deletions build/libdirtrav_nowin_static.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Option extended_obj_names="1" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/dirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug/libdirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Debug/" />
<Option type="2" />
Expand All @@ -21,7 +21,7 @@
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/dirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release/libdirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Release/" />
<Option type="2" />
Expand All @@ -37,7 +37,7 @@
</Linker>
</Target>
<Target title="Debug32">
<Option output="bin/Debug32/dirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug32/libdirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Debug32/" />
<Option type="2" />
Expand All @@ -50,7 +50,7 @@
</Compiler>
</Target>
<Target title="Release32">
<Option output="bin/Release32/dirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release32/libdirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Release32/" />
<Option type="2" />
Expand All @@ -66,7 +66,7 @@
</Linker>
</Target>
<Target title="Debug64">
<Option output="bin/Debug64/dirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug64/libdirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Debug64/" />
<Option type="2" />
Expand All @@ -79,7 +79,7 @@
</Compiler>
</Target>
<Target title="Release64">
<Option output="bin/Release64/dirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release64/libdirtrav_nowin" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Release64/" />
<Option type="2" />
Expand Down
12 changes: 6 additions & 6 deletions build/libdirtrav_shared.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/liblibdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug/libdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
Expand All @@ -18,7 +18,7 @@
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/liblibdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release/libdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
Expand All @@ -32,7 +32,7 @@
</Linker>
</Target>
<Target title="Debug32">
<Option output="bin/Debug32/liblibdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug32/libdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug32/" />
<Option type="3" />
<Option compiler="MINGW32" />
Expand All @@ -43,7 +43,7 @@
</Compiler>
</Target>
<Target title="Release32">
<Option output="bin/Release32/liblibdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release32/libdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release32/" />
<Option type="3" />
<Option compiler="MINGW32" />
Expand All @@ -57,7 +57,7 @@
</Linker>
</Target>
<Target title="Debug64">
<Option output="bin/Debug64/liblibdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug64/libdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug64/" />
<Option type="3" />
<Option compiler="MINGW64" />
Expand All @@ -68,7 +68,7 @@
</Compiler>
</Target>
<Target title="Release64">
<Option output="bin/Release64/liblibdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release64/libdirtrav" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release64/" />
<Option type="3" />
<Option compiler="MINGW64" />
Expand Down
28 changes: 28 additions & 0 deletions build/libdirtrav_shared.depend
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# depslib dependency file v1.0
1639557525 source:z:\libdirtrav\src\dirtrav.c
"dirtrav_version.h"
<string.h>
<sys/types.h>
<dirent.h>
<sys/stat.h>
<windows.h>
<sddl.h>
<sys/types.h>
<pwd.h>
<unistd.h>
"dirtrav.h"
"dirtravw.h"
<windows.h>

1639552957 z:\libdirtrav\include\dirtrav_version.h

1639554823 z:\libdirtrav\include\dirtrav.h
<stdlib.h>
<stdint.h>
<sys/stat.h>

1639557419 z:\libdirtrav\include\dirtravw.h
<stdlib.h>
<stdint.h>
<sys/stat.h>
<wchar.h>

12 changes: 6 additions & 6 deletions build/libdirtrav_static.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<Option compiler="gcc" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/dirtrav" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug/libdirtrav" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Debug/" />
<Option type="2" />
Expand All @@ -20,7 +20,7 @@
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/dirtrav" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release/libdirtrav" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Release/" />
<Option type="2" />
Expand All @@ -36,7 +36,7 @@
</Linker>
</Target>
<Target title="Debug32">
<Option output="bin/Debug32/dirtrav" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug32/libdirtrav" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Debug32/" />
<Option type="2" />
Expand All @@ -49,7 +49,7 @@
</Compiler>
</Target>
<Target title="Release32">
<Option output="bin/Release32/dirtrav" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release32/libdirtrav" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Release32/" />
<Option type="2" />
Expand All @@ -65,7 +65,7 @@
</Linker>
</Target>
<Target title="Debug64">
<Option output="bin/Debug64/dirtrav" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug64/libdirtrav" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Debug64/" />
<Option type="2" />
Expand All @@ -78,7 +78,7 @@
</Compiler>
</Target>
<Target title="Release64">
<Option output="bin/Release64/dirtrav" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release64/libdirtrav" prefix_auto="1" extension_auto="1" />
<Option working_dir="" />
<Option object_output="obj/Release64/" />
<Option type="2" />
Expand Down
28 changes: 28 additions & 0 deletions build/libdirtrav_static.depend
Original file line number Diff line number Diff line change
@@ -1 +1,29 @@
# depslib dependency file v1.0
1639557525 source:z:\libdirtrav\src\dirtrav.c
"dirtrav_version.h"
<string.h>
<sys/types.h>
<dirent.h>
<sys/stat.h>
<windows.h>
<sddl.h>
<sys/types.h>
<pwd.h>
<unistd.h>
"dirtrav.h"
"dirtravw.h"
<windows.h>

1639552957 z:\libdirtrav\include\dirtrav_version.h

1639554823 z:\libdirtrav\include\dirtrav.h
<stdlib.h>
<stdint.h>
<sys/stat.h>

1639557419 z:\libdirtrav\include\dirtravw.h
<stdlib.h>
<stdint.h>
<sys/stat.h>
<wchar.h>

12 changes: 6 additions & 6 deletions build/libdirtravw_nowin_shared.cbp
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<Option extended_obj_names="1" />
<Build>
<Target title="Debug">
<Option output="bin/Debug/liblibdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug/libdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug/" />
<Option type="3" />
<Option compiler="gcc" />
Expand All @@ -19,7 +19,7 @@
</Compiler>
</Target>
<Target title="Release">
<Option output="bin/Release/liblibdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release/libdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release/" />
<Option type="3" />
<Option compiler="gcc" />
Expand All @@ -33,7 +33,7 @@
</Linker>
</Target>
<Target title="Debug32">
<Option output="bin/Debug32/liblibdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug32/libdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug32/" />
<Option type="3" />
<Option compiler="MINGW32" />
Expand All @@ -44,7 +44,7 @@
</Compiler>
</Target>
<Target title="Release32">
<Option output="bin/Release32/liblibdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release32/libdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release32/" />
<Option type="3" />
<Option compiler="MINGW32" />
Expand All @@ -58,7 +58,7 @@
</Linker>
</Target>
<Target title="Debug64">
<Option output="bin/Debug64/liblibdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Debug64/libdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Debug64/" />
<Option type="3" />
<Option compiler="MINGW64" />
Expand All @@ -69,7 +69,7 @@
</Compiler>
</Target>
<Target title="Release64">
<Option output="bin/Release64/liblibdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option output="bin/Release64/libdirtravw_nowin" imp_lib="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME).dll" def_file="$(TARGET_OUTPUT_DIR)$(TARGET_OUTPUT_BASENAME)" prefix_auto="1" extension_auto="1" />
<Option object_output="obj/Release64/" />
<Option type="3" />
<Option compiler="MINGW64" />
Expand Down
Loading

0 comments on commit 2330c60

Please sign in to comment.