@@ -173,6 +173,20 @@ extern "C" SEXP _cpp11test_cpp11_insert_(SEXP num_sxp) {
173173 return cpp11::as_sexp (cpp11_insert_ (cpp11::as_cpp<cpp11::decay_t <SEXP>>(num_sxp)));
174174 END_CPP11
175175}
176+ // map.cpp
177+ SEXP ordered_map_to_list_ (cpp11::doubles x);
178+ extern " C" SEXP _cpp11test_ordered_map_to_list_ (SEXP x) {
179+ BEGIN_CPP11
180+ return cpp11::as_sexp (ordered_map_to_list_ (cpp11::as_cpp<cpp11::decay_t <cpp11::doubles>>(x)));
181+ END_CPP11
182+ }
183+ // map.cpp
184+ SEXP unordered_map_to_list_ (cpp11::doubles x);
185+ extern " C" SEXP _cpp11test_unordered_map_to_list_ (SEXP x) {
186+ BEGIN_CPP11
187+ return cpp11::as_sexp (unordered_map_to_list_ (cpp11::as_cpp<cpp11::decay_t <cpp11::doubles>>(x)));
188+ END_CPP11
189+ }
176190// matrix.cpp
177191SEXP gibbs_cpp (int N, int thin);
178192extern " C" SEXP _cpp11test_gibbs_cpp (SEXP N, SEXP thin) {
@@ -209,6 +223,27 @@ extern "C" SEXP _cpp11test_row_sums(SEXP x) {
209223 END_CPP11
210224}
211225// matrix.cpp
226+ cpp11::doubles_matrix<> mat_mat_copy_dimnames (cpp11::doubles_matrix<> x);
227+ extern " C" SEXP _cpp11test_mat_mat_copy_dimnames (SEXP x) {
228+ BEGIN_CPP11
229+ return cpp11::as_sexp (mat_mat_copy_dimnames (cpp11::as_cpp<cpp11::decay_t <cpp11::doubles_matrix<>>>(x)));
230+ END_CPP11
231+ }
232+ // matrix.cpp
233+ SEXP mat_sexp_copy_dimnames (cpp11::doubles_matrix<> x);
234+ extern " C" SEXP _cpp11test_mat_sexp_copy_dimnames (SEXP x) {
235+ BEGIN_CPP11
236+ return cpp11::as_sexp (mat_sexp_copy_dimnames (cpp11::as_cpp<cpp11::decay_t <cpp11::doubles_matrix<>>>(x)));
237+ END_CPP11
238+ }
239+ // matrix.cpp
240+ cpp11::doubles_matrix<> mat_mat_create_dimnames ();
241+ extern " C" SEXP _cpp11test_mat_mat_create_dimnames () {
242+ BEGIN_CPP11
243+ return cpp11::as_sexp (mat_mat_create_dimnames ());
244+ END_CPP11
245+ }
246+ // matrix.cpp
212247cpp11::doubles col_sums (cpp11::doubles_matrix<cpp11::by_column> x);
213248extern " C" SEXP _cpp11test_col_sums (SEXP x) {
214249 BEGIN_CPP11
@@ -478,6 +513,20 @@ extern "C" SEXP _cpp11test_rcpp_push_and_truncate_(SEXP size_sxp) {
478513 return cpp11::as_sexp (rcpp_push_and_truncate_ (cpp11::as_cpp<cpp11::decay_t <SEXP>>(size_sxp)));
479514 END_CPP11
480515}
516+ // test-external_pointer.cpp
517+ cpp11::external_pointer<int > nullable_extptr_1 ();
518+ extern " C" SEXP _cpp11test_nullable_extptr_1 () {
519+ BEGIN_CPP11
520+ return cpp11::as_sexp (nullable_extptr_1 ());
521+ END_CPP11
522+ }
523+ // test-external_pointer.cpp
524+ cpp11::external_pointer<int > nullable_extptr_2 ();
525+ extern " C" SEXP _cpp11test_nullable_extptr_2 () {
526+ BEGIN_CPP11
527+ return cpp11::as_sexp (nullable_extptr_2 ());
528+ END_CPP11
529+ }
481530// test-protect-nested.cpp
482531void test_destruction_inner ();
483532extern " C" SEXP _cpp11test_test_destruction_inner () {
@@ -528,6 +577,9 @@ static const R_CallMethodDef CallEntries[] = {
528577 {" _cpp11test_grow_strings_cpp11_" , (DL_FUNC) &_cpp11test_grow_strings_cpp11_, 2 },
529578 {" _cpp11test_grow_strings_manual_" , (DL_FUNC) &_cpp11test_grow_strings_manual_, 2 },
530579 {" _cpp11test_grow_strings_rcpp_" , (DL_FUNC) &_cpp11test_grow_strings_rcpp_, 2 },
580+ {" _cpp11test_mat_mat_copy_dimnames" , (DL_FUNC) &_cpp11test_mat_mat_copy_dimnames, 1 },
581+ {" _cpp11test_mat_mat_create_dimnames" , (DL_FUNC) &_cpp11test_mat_mat_create_dimnames, 0 },
582+ {" _cpp11test_mat_sexp_copy_dimnames" , (DL_FUNC) &_cpp11test_mat_sexp_copy_dimnames, 1 },
531583 {" _cpp11test_my_message" , (DL_FUNC) &_cpp11test_my_message, 2 },
532584 {" _cpp11test_my_message_n1" , (DL_FUNC) &_cpp11test_my_message_n1, 1 },
533585 {" _cpp11test_my_message_n1fmt" , (DL_FUNC) &_cpp11test_my_message_n1fmt, 1 },
@@ -540,6 +592,9 @@ static const R_CallMethodDef CallEntries[] = {
540592 {" _cpp11test_my_warning_n1" , (DL_FUNC) &_cpp11test_my_warning_n1, 1 },
541593 {" _cpp11test_my_warning_n1fmt" , (DL_FUNC) &_cpp11test_my_warning_n1fmt, 1 },
542594 {" _cpp11test_my_warning_n2fmt" , (DL_FUNC) &_cpp11test_my_warning_n2fmt, 2 },
595+ {" _cpp11test_nullable_extptr_1" , (DL_FUNC) &_cpp11test_nullable_extptr_1, 0 },
596+ {" _cpp11test_nullable_extptr_2" , (DL_FUNC) &_cpp11test_nullable_extptr_2, 0 },
597+ {" _cpp11test_ordered_map_to_list_" , (DL_FUNC) &_cpp11test_ordered_map_to_list_, 1 },
543598 {" _cpp11test_protect_many_" , (DL_FUNC) &_cpp11test_protect_many_, 1 },
544599 {" _cpp11test_protect_many_cpp11_" , (DL_FUNC) &_cpp11test_protect_many_cpp11_, 1 },
545600 {" _cpp11test_protect_many_preserve_" , (DL_FUNC) &_cpp11test_protect_many_preserve_, 1 },
@@ -573,6 +628,7 @@ static const R_CallMethodDef CallEntries[] = {
573628 {" _cpp11test_sum_int_foreach_" , (DL_FUNC) &_cpp11test_sum_int_foreach_, 1 },
574629 {" _cpp11test_test_destruction_inner" , (DL_FUNC) &_cpp11test_test_destruction_inner, 0 },
575630 {" _cpp11test_test_destruction_outer" , (DL_FUNC) &_cpp11test_test_destruction_outer, 0 },
631+ {" _cpp11test_unordered_map_to_list_" , (DL_FUNC) &_cpp11test_unordered_map_to_list_, 1 },
576632 {" _cpp11test_upper_bound" , (DL_FUNC) &_cpp11test_upper_bound, 2 },
577633 {" run_testthat_tests" , (DL_FUNC) &run_testthat_tests, 1 },
578634 {NULL , NULL , 0 }
0 commit comments