diff options
author | albert-github <albert.tests@gmail.com> | 2019-01-18 09:59:56 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2019-01-18 09:59:56 (GMT) |
commit | e596bf3f21402ed555b305af7649546991bf8c3d (patch) | |
tree | f5d85b61c11903f2e44429087861a58c3d6baf1e /testing/085_tooltip.cpp | |
parent | 6a1b3708a6bc240cea79b3191b0dafacb014fdb6 (diff) | |
download | Doxygen-e596bf3f21402ed555b305af7649546991bf8c3d.zip Doxygen-e596bf3f21402ed555b305af7649546991bf8c3d.tar.gz Doxygen-e596bf3f21402ed555b305af7649546991bf8c3d.tar.bz2 |
Double id for tooltips in XHTML Possible.
The tooltips (XHTML) should not be displayed per code fragment but for the entire (output) file as otherwise tooltips might be added multiple times resulting in double IDs.
Diffstat (limited to 'testing/085_tooltip.cpp')
-rw-r--r-- | testing/085_tooltip.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/testing/085_tooltip.cpp b/testing/085_tooltip.cpp new file mode 100644 index 0000000..fa97018 --- /dev/null +++ b/testing/085_tooltip.cpp @@ -0,0 +1,22 @@ +// objective: test tooltip in XHTML +// check: 085__tooltip_8cpp.xml +// config: SOURCE_BROWSER=YES +/** \file */ + + +/** \brief the unit */ +FILE *unit = NULL; + +/** a general open macro */ +#define FOPEN_MACRO(fn ,mod) \ + if ((unit = fopen(fn, mod)) == NULL) \ + { \ + msg(OPEN_ERR,strerror(errno)); \ + } + +/** a general close macro */ +#define FCLOSE_MACRO \ + if (fclose(unit) != 0) \ + { \ + msg(CLOSE_ERR,strerror(errno)); \ + } |