Fix Broxygen's rendering of opaque types.

BIT-1245 #close
This commit is contained in:
Jon Siwek 2014-09-08 19:01:13 -05:00
parent ff33789f6a
commit 3caecadf0a
4 changed files with 11 additions and 1 deletions

View file

@ -1381,6 +1381,11 @@ void OpaqueType::Describe(ODesc* d) const
d->Add(name.c_str());
}
void OpaqueType::DescribeReST(ODesc* d, bool roles_only) const
{
d->Add(fmt(":bro:type:`%s` of %s", type_name(Tag()), name.c_str()));
}
IMPLEMENT_SERIAL(OpaqueType, SER_OPAQUE_TYPE);
bool OpaqueType::DoSerialize(SerialInfo* info) const