File: MatchIt_RcppExports.h

package info (click to toggle)
r-cran-matchit 4.7.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 3,252 kB
  • sloc: cpp: 3,034; makefile: 5
file content (29 lines) | stat: -rw-r--r-- 936 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
// Generated by using Rcpp::compileAttributes() -> do not edit by hand
// Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393

#ifndef RCPP_MatchIt_RCPPEXPORTS_H_GEN_
#define RCPP_MatchIt_RCPPEXPORTS_H_GEN_

#include <Rcpp.h>

namespace MatchIt {

    using namespace Rcpp;

    namespace {
        void validateSignature(const char* sig) {
            Rcpp::Function require = Rcpp::Environment::base_env()["require"];
            require("MatchIt", Rcpp::Named("quietly") = true);
            typedef int(*Ptr_validate)(const char*);
            static Ptr_validate p_validate = (Ptr_validate)
                R_GetCCallable("MatchIt", "_MatchIt_RcppExport_validate");
            if (!p_validate(sig)) {
                throw Rcpp::function_not_exported(
                    "C++ function with signature '" + std::string(sig) + "' not found in MatchIt");
            }
        }
    }

}

#endif // RCPP_MatchIt_RCPPEXPORTS_H_GEN_