Fix wrong section hierarchy in the manual (#12724) [backport]
This commit is contained in:
parent
1f7871ea1c
commit
bfad0056ab
1 changed files with 9 additions and 9 deletions
|
|
@ -6706,15 +6706,6 @@ The compiler needs to be told to generate C++ (command ``cpp``) for
|
||||||
this to work. The conditional symbol ``cpp`` is defined when the compiler
|
this to work. The conditional symbol ``cpp`` is defined when the compiler
|
||||||
emits C++ code.
|
emits C++ code.
|
||||||
|
|
||||||
|
|
||||||
ImportJs pragma
|
|
||||||
---------------
|
|
||||||
|
|
||||||
Similar to the `importcpp pragma for C++ <#foreign-function-interface-importc-pragma>`_,
|
|
||||||
the ``importjs`` pragma can be used to import Javascript methods or
|
|
||||||
symbols in general. The generated code then uses the Javascript method
|
|
||||||
calling syntax: ``obj.method(arg)``.
|
|
||||||
|
|
||||||
Namespaces
|
Namespaces
|
||||||
~~~~~~~~~~
|
~~~~~~~~~~
|
||||||
|
|
||||||
|
|
@ -6897,6 +6888,15 @@ Produces:
|
||||||
std::vector<int>::iterator x;
|
std::vector<int>::iterator x;
|
||||||
|
|
||||||
|
|
||||||
|
ImportJs pragma
|
||||||
|
---------------
|
||||||
|
|
||||||
|
Similar to the `importcpp pragma for C++ <#foreign-function-interface-importc-pragma>`_,
|
||||||
|
the ``importjs`` pragma can be used to import Javascript methods or
|
||||||
|
symbols in general. The generated code then uses the Javascript method
|
||||||
|
calling syntax: ``obj.method(arg)``.
|
||||||
|
|
||||||
|
|
||||||
ImportObjC pragma
|
ImportObjC pragma
|
||||||
-----------------
|
-----------------
|
||||||
Similar to the `importc pragma for C
|
Similar to the `importc pragma for C
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue