diff --git a/doc/manual.rst b/doc/manual.rst index f645ad2289..1924265f2b 100644 --- a/doc/manual.rst +++ b/doc/manual.rst @@ -6638,15 +6638,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 ~~~~~~~~~~ @@ -6829,6 +6820,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