From 54a73e3396bccab92b8f387bde3fae8b81ddcf71 Mon Sep 17 00:00:00 2001 From: Atul R Date: Sun, 1 Mar 2020 00:48:42 +0100 Subject: [PATCH] change to alpha v2 --- package-lock.json | 2 +- package.json | 2 +- src/cpp/include/nodegui/core/Integration/qode-api.h | 7 ++++--- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/package-lock.json b/package-lock.json index 77ff3cef8..71bb58f05 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "@nodegui/nodegui", - "version": "0.15.0-alpha", + "version": "0.15.0-alpha-2", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 605c007e3..90d8a0ba4 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/src/cpp/include/nodegui/core/Integration/qode-api.h b/src/cpp/include/nodegui/core/Integration/qode-api.h index 0d60bbc8c..e5315b62b 100644 --- a/src/cpp/include/nodegui/core/Integration/qode-api.h +++ b/src/cpp/include/nodegui/core/Integration/qode-api.h @@ -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 \ No newline at end of file