Skip to content

Commit 83912a6

Browse files
committed
SNOW-837489: bump nanoarrow dependency to v0.2.0 (#1623)
1 parent fa6026c commit 83912a6

File tree

12 files changed

+2049
-637
lines changed

12 files changed

+2049
-637
lines changed

src/snowflake/connector/cpp/ArrowIterator/flatcc/flatcc_assert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extern "C" {
2525
* `FLATCC_NO_ASSERT`.
2626
*/
2727

28-
#ifdef FLATCC_NO_ASSERT
28+
#ifdef FLATCC_NO_ASSERT
2929
/* NOTE: This will not affect inclusion of <assert.h> for static assertions. */
3030
#undef FLATCC_ASSERT
3131
#define FLATCC_ASSERT(x) ((void)0)

src/snowflake/connector/cpp/ArrowIterator/flatcc/flatcc_epilogue.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
#endif
66

77
#include "flatcc/portable/pdiagnostic_pop.h"
8+

src/snowflake/connector/cpp/ArrowIterator/flatcc/portable/paligned_alloc.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ extern "C" {
5353
#if defined (__MINGW32__)
5454
/* MingW does not provide aligned_alloc despite defining _ISOC11_SOURCE */
5555
#define PORTABLE_C11_ALIGNED_ALLOC 0
56-
#elif defined (_ISOC11_SOURCE)
56+
#elif defined (_ISOC11_SOURCE)
5757
/* glibc aligned_alloc detection, but MingW is not truthful */
5858
#define PORTABLE_C11_ALIGNED_ALLOC 1
5959
#elif defined (__GLIBC__)
@@ -178,7 +178,7 @@ static inline void *__portable_aligned_alloc(size_t alignment, size_t size)
178178
static inline void __portable_aligned_free(void *p)
179179
{
180180
char *raw;
181-
181+
182182
if (p) {
183183
raw = (char*)((void **)p)[-1];
184184
free(raw);

src/snowflake/connector/cpp/ArrowIterator/flatcc/portable/pdiagnostic.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,3 +82,4 @@
8282
#pragma clang diagnostic ignored "-Wc++11-extensions"
8383
#endif
8484
#endif
85+

src/snowflake/connector/cpp/ArrowIterator/flatcc/portable/punaligned.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ extern "C" {
4545
#include <stdint.h>
4646
#endif
4747

48-
#if PORTABLE_UNALIGNED_ACCESS
48+
#if PORTABLE_UNALIGNED_ACCESS
4949

5050
#define unaligned_read_16(p) (*(uint16_t*)(p))
5151
#define unaligned_read_32(p) (*(uint32_t*)(p))

0 commit comments

Comments
 (0)