Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ Example:
Example:

``` c++
gameanalytics::GameAnalytics::initialize("<your game key>", "<your secret key");
gameanalytics::GameAnalytics::initialize("<your game key>", "<your secret key>");
```

### Send events
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,9 +219,9 @@
#define MINIZ_HAS_64BIT_REGISTERS 1
#endif

#ifdef __cplusplus
extern "C" {
#endif
namespace gameanalytics {
namespace utilities {
namespace zip {

// ------------------- zlib-style API Definitions.

Expand Down Expand Up @@ -919,10 +919,6 @@ mz_uint32 tdefl_get_adler32(tdefl_compressor *d);
mz_uint tdefl_create_comp_flags_from_zip_params(int level, int window_bits, int strategy);
#endif // #ifndef MINIZ_NO_ZLIB_APIS

#ifdef __cplusplus
}
#endif

#endif // MINIZ_HEADER_INCLUDED

// ------------------- End of Header: Implementation follows. (If you only want the header, define MINIZ_HEADER_FILE_ONLY.)
Expand Down Expand Up @@ -968,10 +964,6 @@ typedef unsigned char mz_validate_uint64[sizeof(mz_uint64)==8 ? 1 : -1];
#define MZ_FORCEINLINE inline
#endif

#ifdef __cplusplus
extern "C" {
#endif

// ------------------- zlib-style API's

mz_ulong mz_adler32(mz_ulong adler, const unsigned char *ptr, size_t buf_len)
Expand Down Expand Up @@ -4882,12 +4874,12 @@ void *mz_zip_extract_archive_file_to_heap(const char *pZip_filename, const char

#endif // #ifndef MINIZ_NO_ARCHIVE_APIS

#ifdef __cplusplus
}
#endif

#endif // MINIZ_HEADER_FILE_ONLY

} // namespace zip
} // namespace utilities
} // namespace gameanalytics

/*
This is free and unencumbered software released into the public domain.

Expand Down
4 changes: 3 additions & 1 deletion source/gameanalytics/GAUtilities.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@

// From crypto
#define MINIZ_HEADER_FILE_ONLY
#include "miniz.c"
#include "GA_Zip.cpp"

namespace gameanalytics
{
namespace utilities
{
using namespace zip;

std::string printArray(StringVector const& v, std::string const& delim)
{
if(v.empty())
Expand Down