mirror of
https://github.com/qmlnet/qmlnet.git
synced 2026-05-21 06:45:32 -06:00
parent 656bc5668f
author Max Mommersteeg <maxmommersteeg@hotmail.com> 1545596313 +0100
committer Max Mommersteeg <maxmommersteeg@hotmail.com> 1545601051 +0100
# This is a combination of 2 commits.
# This is the 1st commit message:
Updated xunit NuGet packages.
# This is the commit message #1:
Corrected csproj.
# This is the commit message #2:
Corrected csproj.
# This is the commit message #3:
Making any null object types return "null", instead of "undefined".
# This is the commit message #4:
Fixing windows build
# This is the commit message #5:
Added a unit test for a previous commit.
# This is the commit message #6:
Added support for registering static types.
# This is the commit message #7:
Updated appveyor build script to use MSVC2017
# This is the commit message #8:
NetVariant Refactoring
- Added support for long, unsigned long and float
- Code style unifications
- Treat (almost) all types the same
- Use correctly sized ints
- removed dynamic_casts where unnecessary
- reduced warnings
- micro optimizations
- some code modernizations
- improved const correctness
# This is the commit message #9:
Help the compiler help us
# This is the commit message #10:
Ran clang-tidy and fixed some reported issues
# This is the commit message #11:
Removed now obsolete arguments
Note: QGuiApplication.Exec(), Exit() and Quit() should be static, but I am not sure how much code that would break.
# This is the commit message #12:
Use delete[] to avoid undefined behavior
# This is the commit message #13:
Avoid -Wweak-vtables warning
# This is the commit message #14:
Relaxed assertion that was a little too enthusiastic
# This is the commit message #15:
Removed the dependency of ADL.
19 lines
360 B
C
19 lines
360 B
C
#ifndef QMLNETUTILITIES_H
|
|
#define QMLNETUTILITIES_H
|
|
|
|
#include <QmlNet.h>
|
|
#include <QString>
|
|
|
|
struct QmlNetStringContainer {
|
|
QString* container;
|
|
const ushort* data;
|
|
};
|
|
|
|
extern "C" {
|
|
|
|
Q_DECL_EXPORT QmlNetStringContainer* createString(const QString& value);
|
|
Q_DECL_EXPORT void freeString(QmlNetStringContainer* container);
|
|
|
|
}
|
|
|
|
#endif // QMLNETUTILITIES_H
|