Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
Makefile | D | 03-May-2024 | 50 | 4 | 2 | |
README.txt | D | 03-May-2024 | 362 | 6 | 5 | |
TestForwardDeclaration.py | D | 03-May-2024 | 2.2 KiB | 67 | 45 | |
foo.c | D | 03-May-2024 | 67 | 8 | 6 | |
foo.h | D | 03-May-2024 | 45 | 5 | 2 | |
main.c | D | 03-May-2024 | 163 | 18 | 13 |
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