Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-45246

add QJSEngine::newFunction

    XMLWordPrintable

Details

    Description

      Like QScriptEngine, QJSEngine should provide a way to register a C++ callback that can

      • access its (variable number of) arguments
      • the "this" object
      • its callee
      • determine whether it was called as constructor
      • the call stack
      • ...

      Basically, give access to the execution context of the called function.

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              qtqmlteam Qt Qml Team User
              jbornema Joerg Bornemann
              Votes:
              11 Vote for this issue
              Watchers:
              19 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes