You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

77 lines
2.6KB

  1. // Generated by using Rcpp::compileAttributes() -> do not edit by hand
  2. // Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393
  3. #include <Rcpp.h>
  4. using namespace Rcpp;
  5. // apex_domain
  6. CharacterVector apex_domain(CharacterVector domains);
  7. RcppExport SEXP _psl_apex_domain(SEXP domainsSEXP) {
  8. BEGIN_RCPP
  9. Rcpp::RObject rcpp_result_gen;
  10. Rcpp::RNGScope rcpp_rngScope_gen;
  11. Rcpp::traits::input_parameter< CharacterVector >::type domains(domainsSEXP);
  12. rcpp_result_gen = Rcpp::wrap(apex_domain(domains));
  13. return rcpp_result_gen;
  14. END_RCPP
  15. }
  16. // public_suffix
  17. CharacterVector public_suffix(CharacterVector domains);
  18. RcppExport SEXP _psl_public_suffix(SEXP domainsSEXP) {
  19. BEGIN_RCPP
  20. Rcpp::RObject rcpp_result_gen;
  21. Rcpp::RNGScope rcpp_rngScope_gen;
  22. Rcpp::traits::input_parameter< CharacterVector >::type domains(domainsSEXP);
  23. rcpp_result_gen = Rcpp::wrap(public_suffix(domains));
  24. return rcpp_result_gen;
  25. END_RCPP
  26. }
  27. // is_public_suffix
  28. LogicalVector is_public_suffix(CharacterVector domains);
  29. RcppExport SEXP _psl_is_public_suffix(SEXP domainsSEXP) {
  30. BEGIN_RCPP
  31. Rcpp::RObject rcpp_result_gen;
  32. Rcpp::RNGScope rcpp_rngScope_gen;
  33. Rcpp::traits::input_parameter< CharacterVector >::type domains(domainsSEXP);
  34. rcpp_result_gen = Rcpp::wrap(is_public_suffix(domains));
  35. return rcpp_result_gen;
  36. END_RCPP
  37. }
  38. // suffix_extract
  39. DataFrame suffix_extract(CharacterVector domains);
  40. RcppExport SEXP _psl_suffix_extract(SEXP domainsSEXP) {
  41. BEGIN_RCPP
  42. Rcpp::RObject rcpp_result_gen;
  43. Rcpp::RNGScope rcpp_rngScope_gen;
  44. Rcpp::traits::input_parameter< CharacterVector >::type domains(domainsSEXP);
  45. rcpp_result_gen = Rcpp::wrap(suffix_extract(domains));
  46. return rcpp_result_gen;
  47. END_RCPP
  48. }
  49. // suffix_extract2
  50. DataFrame suffix_extract2(CharacterVector domains);
  51. RcppExport SEXP _psl_suffix_extract2(SEXP domainsSEXP) {
  52. BEGIN_RCPP
  53. Rcpp::RObject rcpp_result_gen;
  54. Rcpp::RNGScope rcpp_rngScope_gen;
  55. Rcpp::traits::input_parameter< CharacterVector >::type domains(domainsSEXP);
  56. rcpp_result_gen = Rcpp::wrap(suffix_extract2(domains));
  57. return rcpp_result_gen;
  58. END_RCPP
  59. }
  60. static const R_CallMethodDef CallEntries[] = {
  61. {"_psl_apex_domain", (DL_FUNC) &_psl_apex_domain, 1},
  62. {"_psl_public_suffix", (DL_FUNC) &_psl_public_suffix, 1},
  63. {"_psl_is_public_suffix", (DL_FUNC) &_psl_is_public_suffix, 1},
  64. {"_psl_suffix_extract", (DL_FUNC) &_psl_suffix_extract, 1},
  65. {"_psl_suffix_extract2", (DL_FUNC) &_psl_suffix_extract2, 1},
  66. {NULL, NULL, 0}
  67. };
  68. RcppExport void R_init_psl(DllInfo *dll) {
  69. R_registerRoutines(dll, NULL, CallEntries, NULL, NULL);
  70. R_useDynamicSymbols(dll, FALSE);
  71. }