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
9 changes: 9 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
2026-04-11 Dirk Eddelbuettel <edd@debian.org>

* inst/include/simdjson.h: Sync with upstream release 4.6.1
* inst/include/simdjson.cpp: Idem

* inst/include/RcppSimdJson/deserialize/simplify.hpp: Add a stop-gap
measure for BIGINT coverage, (at least for now) erroring out
* inst/include/RcppSimdJson/deserialize/Type_Doctor.hpp: Idem (twice)

2026-01-14 Dirk Eddelbuettel <edd@debian.org>

* DESCRIPTION (Version, Date): Release 0.1.15
Expand Down
9 changes: 9 additions & 0 deletions inst/include/RcppSimdJson/deserialize/Type_Doctor.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,10 @@ inline Type_Doctor<type_policy, int64_opt>::Type_Doctor(simdjson::dom::array arr
UINT64_ = true;
u64_ = true;
break;

case simdjson::dom::element_type::BIGINT:
Rcpp::stop("Cannot represent 'BIGINT' type.");
break; // not reached
}
}
}
Expand Down Expand Up @@ -308,6 +312,11 @@ void Type_Doctor<type_policy, int64_opt>::add_element(simdjson::dom::element ele
UINT64_ = true;
u64_ = true;
break;

case simdjson::dom::element_type::BIGINT:
Rcpp::stop("Cannot represent 'BIGINT' type.");
break; // not reached

}
}

Expand Down
4 changes: 4 additions & 0 deletions inst/include/RcppSimdJson/deserialize/simplify.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,10 @@ inline SEXP simplify_element(simdjson::dom::element element,

case simdjson::dom::element_type::UINT64:
return Rcpp::wrap(std::to_string(uint64_t(element)));

case simdjson::dom::element_type::BIGINT:
Rcpp::stop("Cannot represent 'BIGINT' type.");
return R_NilValue; // not reached
}

return R_NilValue; // # nocov
Expand Down
Loading
Loading