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
2323
2424 // FIXME: Q_DECLARE_METATYPE is global and really belongs in a shared header file, not per .cpp like this
2525 // (see DataViewClass.cpp, etc. which would also have to be updated to resolve)
26−Q_DECLARE_METATYPE(QScriptClass*)
2726 Q_DECLARE_METATYPE(QByteArray*)
28−int qScriptClassPointerMetaTypeId = qRegisterMetaType<QScriptClass*>();
29−int qByteArrayPointerMetaTypeId = qRegisterMetaType<QByteArray*>();
3027
3128 ArrayBufferClass::ArrayBufferClass(ScriptEngineQtScript* scriptEngine) :
3229 QObject(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