Re: [Doxygen-users] How to get rid of "EXPORT" ... ?
Brought to you by:
dimitri
|
From: Richard D. <Ri...@Da...> - 2020-07-22 12:36:18
|
On 7/22/20 7:49 AM, Harald.Koenig2 via Doxygen-users wrote: > > Hi *, > > I'm new to doxygen, using git master branch (cf635ef1) on Ubuntu 18.04 > (right now mostly with TeXlive 2018 for compatibility by default, TL > 2020 installed to). > > the C sources to be documented (not my own code) uses an "EXPORT" define > for some plattforms (e.g. "__declspec(dllexport)" for WIN32): > > foo.h: > > EXPORT int foo(void); > > > and of course this "EXPORT" shows up in doxygen output. > > question: how to get rid of these "EXPORT"s in doxygen?? > > > right I'm using sed to hack the tex files: > > sed -i 's/E\\+X\\+P\\+O\\+RT//g' *.tex > > > there must be a better way?? > > > thanks, > > Harald > Enable preprocessing (maybe predefined only) and put a define in you config file to map EXPORT to nothing. Maybe even you want to also map __declspec(x) to nothing too. -- Richard Damon |