Skip to content

Commit 7cd0aee

Browse files
shiboken6/Documentation: Fix wrong code snippets
The snippets for the method call are flipped. Pick-to: 6.9 6.8 Change-Id: I8b571c51d6d82391f4bcfca45fd3f9892bfb688a Reviewed-by: Cristian Maureira-Fredes <[email protected]> Reviewed-by: Ece Cinucen <[email protected]>
1 parent e9cc9ed commit 7cd0aee

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sources/shiboken6/doc/typesystem_codeinjection.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ In other words, use
177177
.. code-block:: xml
178178
179179
<inject-code class="target" position="beginning | end">
180-
%CPPSELF.originalMethodName();
180+
%CPPSELF.%FUNCTION_NAME();
181181
</inject-code>
182182
183183
@@ -187,7 +187,7 @@ instead of
187187
.. code-block:: xml
188188
189189
<inject-code class="target" position="beginning | end">
190-
%CPPSELF.%FUNCTION_NAME();
190+
%CPPSELF.originalMethodName();
191191
</inject-code>
192192
193193

0 commit comments

Comments
 (0)