mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Fix Broxygen's rendering of opaque types.
BIT-1245 #close
This commit is contained in:
parent
ff33789f6a
commit
3caecadf0a
4 changed files with 11 additions and 1 deletions
4
CHANGES
4
CHANGES
|
@ -1,4 +1,8 @@
|
|||
|
||||
2.3-137 | 2014-09-08 19:01:13 -0500
|
||||
|
||||
* Fix Broxygen's rendering of opaque types. (Jon Siwek)
|
||||
|
||||
2.3-136 | 2014-09-07 20:50:46 -0700
|
||||
|
||||
* Change more http links to https. (Johanna Amann)
|
||||
|
|
2
VERSION
2
VERSION
|
@ -1 +1 @@
|
|||
2.3-136
|
||||
2.3-137
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -534,6 +534,7 @@ public:
|
|||
const string& Name() const { return name; }
|
||||
|
||||
void Describe(ODesc* d) const;
|
||||
void DescribeReST(ODesc* d, bool roles_only = false) const;
|
||||
|
||||
protected:
|
||||
OpaqueType() { }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue