Skip to content

Commit 0cb55a8

Browse files
committed
This is not a highlightable cpp code block
1 parent 85762b8 commit 0cb55a8

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

docs/scenarios/clibs.rst

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,26 +96,27 @@ Example: Overloading __repr__
9696
std::string getName();
9797
};
9898

99+
99100
:file:`myclass.i`
100101

101-
.. code-block:: c++
102+
.. code-block::
102103
:linenos:
103104
104105
%include "string.i"
105-
106+
106107
%module myclass
107108
%{
108109
#include <string>
109110
#include "MyClass.h"
110111
%}
111-
112+
112113
%extend MyClass {
113114
std::string __repr__()
114115
{
115116
return $self->getName();
116117
}
117118
}
118-
119+
119120
%include "MyClass.h"
120121
121122

0 commit comments

Comments
 (0)