change to alpha v2

This commit is contained in:
Atul R 2020-03-01 00:48:42 +01:00
parent b62f03b80f
commit 54a73e3396
3 changed files with 6 additions and 5 deletions

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "@nodegui/nodegui",
"version": "0.15.0-alpha",
"version": "0.15.0-alpha-2",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,6 +1,6 @@
{
"name": "@nodegui/nodegui",
"version": "0.15.0-alpha",
"version": "0.15.0-alpha-2",
"description": "A cross platform library to build native desktop apps.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",

View File

@ -1,7 +1,7 @@
#ifdef _WIN32
# define QODE_IMPORT __declspec(dllimport)
#define QODE_IMPORT __declspec(dllimport)
#else
# define QODE_IMPORT
#define QODE_IMPORT
#endif
#pragma once
@ -10,5 +10,6 @@ namespace qode {
QODE_IMPORT extern int qode_argc;
QODE_IMPORT extern char **qode_argv;
QODE_IMPORT typedef int (*QodeCustomRunLoopFunc)();
QODE_IMPORT extern void InjectCustomRunLoop(QodeCustomRunLoopFunc customRunLoop);
QODE_IMPORT extern void InjectCustomRunLoop(
QodeCustomRunLoopFunc customRunLoop);
} // namespace qode