This is the mail archive of the docbook@lists.oasis-open.org mailing list for the DocBook project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Marking up C preprocessor symbols


I personally use markup based on how the macro is *used* since the
programmer doesn't necessarily care that it is a cpp macro, if you've
defined it correctly, thus <constant>QM_NOT_FOUND</constant> which is
just a number <function>PMDM_PKT_CONTENT</function> which takes
arguments and is documented as a function elsewhere...


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]