[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]
Subject: Function prototype comments
Hi, Where do i put parameter comments (/*...*/) in function prototypes? When i try it, the semicolons come after the comments instead of after the parameters: XkbDoodadPtr XkbAddGeomDoodad(geom, section, name); XkbGeometryPtr geom /* geometry to which the doodad is added */; XkbSectionPtr section /* section, if any, to which the doodad is added */; Atom name /* name of the new doodad */; I'm using Docbook refentry DTD 4.2. <funcprototype> <funcdef> XkbDoodadPtr <function> XkbAddGeomDoodad </function> </funcdef> <paramdef> XkbGeometryPtr <parameter> geom </parameter>/* geometry to which the doodad is added */ </paramdef> <paramdef> XkbSectionPtr <parameter> section </parameter>/* section, if any, to which the doodad is added */ </paramdef> <paramdef> Atom <parameter> name </parameter>/* name of the new doodad */ </paramdef> </funcprototype>
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]