History

Continued tightening and testing of the scripting engine "glue" logic - QObject wrappers will now be reused when asked to wrap the same QObject multiple times - improved error reporting when we can't form a native call from script - dropped support for having the existing QtScript logic handle Qt object transformations - assuming that our code will handle all calls into native objects - changing timer functions to use CTimer* publicly rather than casted QObject*

Heather Anderson committed 4 years ago

Commit 55b5a2c1 parent 742fa2211 files · +262 −382Browse files

Showing the changes to libraries/script-engine/src/qtscript/ArrayBufferClass.cpp (1 of 11 files). Show all

Unified · Split

libraries/script-engine/src/qtscript/ArrayBufferClass.cpp+0−3
@@ -23,10 +23,7 @@ static const QString CLASS_NAME = "ArrayBuffer"; · 22 unmodified lines
23 23
24// FIXME: Q_DECLARE_METATYPE is global and really belongs in a shared header file, not per .cpp like this24// FIXME: Q_DECLARE_METATYPE is global and really belongs in a shared header file, not per .cpp like this
25// (see DataViewClass.cpp, etc. which would also have to be updated to resolve)25// (see DataViewClass.cpp, etc. which would also have to be updated to resolve)
26Q_DECLARE_METATYPE(QScriptClass*)
27Q_DECLARE_METATYPE(QByteArray*)26Q_DECLARE_METATYPE(QByteArray*)
28int qScriptClassPointerMetaTypeId = qRegisterMetaType<QScriptClass*>();
29int qByteArrayPointerMetaTypeId = qRegisterMetaType<QByteArray*>();
30 27
31ArrayBufferClass::ArrayBufferClass(ScriptEngineQtScript* scriptEngine) :28ArrayBufferClass::ArrayBufferClass(ScriptEngineQtScript* scriptEngine) :
32QObject(scriptEngine),29QObject(scriptEngine),

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t