From bfad0056abe5d1da8dda674ff149bc111291ca2f Mon Sep 17 00:00:00 2001 From: tauplus <43274667+tauplus@users.noreply.github.com> Date: Mon, 25 Nov 2019 18:06:54 +0900 Subject: [PATCH] Fix wrong section hierarchy in the manual (#12724) [backport] --- doc/manual.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/manual.rst b/doc/manual.rst index 50d3a9baaa..f142af05db 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -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 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 ~~~~~~~~~~ @@ -6897,6 +6888,15 @@ Produces: std::vector::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 ----------------- Similar to the `importc pragma for C