Skip to content

Commit

Permalink
Merge pull request #8 from goccy/fix-bridge
Browse files Browse the repository at this point in the history
Fix bridge for slice
  • Loading branch information
goccy authored Jun 7, 2022
2 parents 32a379f + ae19685 commit c823b1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/ccall/go-zetasql/public/analyzer/bridge_cc.inc
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ template<typename T> void assign_list(const std::vector<T> &val, void **target)
slice->data = (void *)data;
slice->len = val.size();
slice->cap = val.size();
*target = (void *)data;
*target = (void *)slice;
}

#define GET_UNIQUE_PTR_LIST(list, v) get_unique_ptr_list(list(), v)
Expand Down

0 comments on commit c823b1c

Please sign in to comment.