Skip to content

Commit afefeba

Browse files
committed
Fix Doxygen API documentation markup
1 parent cf9ff36 commit afefeba

16 files changed

Lines changed: 162 additions & 162 deletions

binaryninjaapi.h

Lines changed: 134 additions & 134 deletions
Large diffs are not rendered by default.

enterprise.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ namespace BinaryNinja
241241
public:
242242
/*!
243243
RAII constructor that checks out a license. License will be refreshed
244-
automatically in a background thread while checked out, in intervals of `duration`
245-
In the event of program crash, the license will expire `duration` seconds after
244+
automatically in a background thread while checked out, in intervals of \c duration
245+
In the event of program crash, the license will expire \c duration seconds after
246246
the most recent background refresh, so you may want a smaller value like 60 if
247247
you expect your program to crash / be killed often.
248248
See class docs for example usage.

ffi.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ namespace BinaryNinja
7777
};
7878
7979
If you get weird compiler errors around here, make sure you've implemented
80-
the above interface correctly (with the `const`s too!).
80+
the above interface correctly (with the \c consts too!).
8181
*/
8282
template<
8383
typename T,
@@ -158,7 +158,7 @@ namespace BinaryNinja
158158
\tparam F Throwable block
159159
\tparam C Catch handler
160160
\param func Throwable block to execute
161-
\param catcher Catch handler to execute if `func` throws
161+
\param catcher Catch handler to execute if \c func throws
162162
\return Either the func's result or the handler's result
163163
*/
164164
template<typename T, typename F, typename C>

objectivec/objc.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ namespace BinaryNinja {
153153
public:
154154
virtual ~ObjCReader() = default;
155155

156-
/*! Read from the current cursor position into buffer `dest` and advance the cursor that many bytes
156+
/*! Read from the current cursor position into buffer \c dest and advance the cursor that many bytes
157157
158158
\throws Exception
159159
\param dest Address to write the read bytes to

plugins/efi_resolver/include/Resolver.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ class Resolver
5353
static string nonConflictingLocalName(Ref<Function> func, const string& basename);
5454

5555
/*!
56-
Define the structure used at the callsite with type `typeName`, propagate it to the data section. If it's a
57-
structure type, define it fields according to the `followFields` parameter. The input `addr` should be a call
56+
Define the structure used at the callsite with type \c typeName, propagate it to the data section. If it's a
57+
structure type, define it fields according to the \c followFields parameter. The input \c addr should be a call
5858
instruction \param func the function that contains the callsite (it's parent function) \param addr address of the
5959
callsite \param typeName the type that need to define \param paramIdx the parameter index that want to define \param
6060
followFields whether to define the structure's fields if they are pointers \return False if failed

ui/animation.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,9 @@ class BINARYNINJAUIAPI Animation : public QVariantAnimation
8888
static Animation* createCopy(Animation* animation);
8989
/*! Whether reduced motion is enabled for the BinaryNinja Application.
9090
91-
This will return true if the `binaryninja.ui.motion` setting is enabled.
91+
This will return true if the \c binaryninja.ui.motion setting is enabled.
9292
93-
The `binaryninja.ui.motion` setting will be enabled automatically if the Operating System's reduce motion
93+
The \c binaryninja.ui.motion setting will be enabled automatically if the Operating System's reduce motion
9494
setting is turned on.
9595
9696
\return Whether reduced motion is enabled.

ui/backgroundsortfilterrows.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "base/assertions.h"
2121
#include "binaryninjacore.h"
2222

23-
/*! The non-template portion of `BackgroundSortFilterRows`.
23+
/*! The non-template portion of \c BackgroundSortFilterRows.
2424
Contains the background job state machine, watcher lifecycle, and abandonment protocol,
2525
which are independent of the row type.
2626

ui/createarraydialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class CreateArrayDialog : public QDialog
3939

4040
/// Get the desired array element type from the accepted dialog.
4141
///
42-
/// The returned value will NOT be of `Type::ArrayType(...)`, but rather
42+
/// The returned value will NOT be of \c Type::ArrayType(...), but rather
4343
/// the element inside.
4444
[[nodiscard]] TypeRef elementType() const;
4545

ui/globalarea.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
/*!
1616
\ingroup globalarea
17-
\deprecated Use `SidebarWidget` with `SidebarContextSensitivity::Global` instead
17+
\deprecated Use \c SidebarWidget with \c SidebarContextSensitivity::Global instead
1818
*/
1919
class BINARYNINJAUIAPI GlobalAreaWidget : public SidebarWidget
2020
{

ui/linearview.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ private Q_SLOTS:
412412

413413
//! Get the length of of the string (if there is one) starting at the
414414
//! given address. String type is assumed to be UTF-8 by default, but the
415-
//! `charSize` parameter can be set to 2 or 4 to look for UTF-16 or
415+
//! \c charSize parameter can be set to 2 or 4 to look for UTF-16 or
416416
//! UTF-32 string, respectively.
417417
//!
418418
//! Returns the length of the string in bytes, NOT the number of characters.

0 commit comments

Comments
 (0)