Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | D | 03-May-2024 | 82 | 6 | 3 | |
README.txt | D | 03-May-2024 | 362 | 6 | 5 | |
TestForwardDeclaration.py | D | 03-May-2024 | 2.4 KiB | 68 | 43 | |
foo.c | D | 03-May-2024 | 119 | 9 | 7 | |
foo.h | D | 03-May-2024 | 45 | 5 | 2 | |
main.c | D | 03-May-2024 | 182 | 19 | 14 |
README.txt
1This example has a function call in foo.c named "foo" that takes a forward 2declaration to "struct bar" and uses it as a pointer argument. In main.c 3we have a real declaration for "struct bar". We want to be able to find the 4real definition of "struct bar" when we are stopped in foo in foo.c such that 5when we stop in "foo" we see the contents of the "bar_ptr". 6