Skip to content

Commit

Permalink
Default packing (#8)
Browse files Browse the repository at this point in the history
* added back engine version inside uplugin

* default packing for the standard lib
  • Loading branch information
dorin-ga authored Nov 12, 2024
1 parent e867fd5 commit f0e3e94
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#pragma once

PRAGMA_PUSH_PLATFORM_DEFAULT_PACKING
#include <vector>
#include <string>
#include <stdint.h>
PRAGMA_POP_PLATFORM_DEFAULT_PACKING

namespace gameanalytics {
extern "C"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,11 @@
*/
#pragma once

PRAGMA_PUSH_PLATFORM_DEFAULT_PACKING
#include <vector>
#include <string>
#include <jni.h>
PRAGMA_POP_PLATFORM_DEFAULT_PACKING

namespace gameanalytics {
extern "C"
Expand Down
2 changes: 2 additions & 0 deletions GameAnalytics/Source/GameAnalytics/Private/GameAnalytics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
#include "Json.h"
#endif

PRAGMA_PUSH_PLATFORM_DEFAULT_PACKING
#include "../GA-SDK-CPP/GameAnalytics/GameAnalytics.h"
PRAGMA_POP_PLATFORM_DEFAULT_PACKING

// #elif PLATFORM_HTML5
// #include "Json.h"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
#pragma once

PRAGMA_PUSH_PLATFORM_DEFAULT_PACKING
#include <memory>
#include <mutex>
PRAGMA_POP_PLATFORM_DEFAULT_PACKING

/*!
Template class, that implements the sharedInstance/setSharedInstance idom.
Expand Down
2 changes: 2 additions & 0 deletions GameAnalytics/Source/GameAnalytics/Public/GameAnalytics.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@

#pragma once

PRAGMA_PUSH_PLATFORM_DEFAULT_PACKING
#include <string>
#include <vector>
#include <stdint.h>
PRAGMA_POP_PLATFORM_DEFAULT_PACKING

#include "UObject/Object.h"
#include "Dom/JsonObject.h"
Expand Down

0 comments on commit f0e3e94

Please sign in to comment.