MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / writeFunctions

Method writeFunctions

src/attributes.cpp:1884–1892  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1882 }
1883
1884 void ExportsGenerator::writeFunctions(
1885 const SourceFileAttributes& attributes,
1886 bool verbose) {
1887
1888 if (attributes.hasInterface(kInterfaceCpp))
1889 hasCppInterface_ = true; // #nocov
1890
1891 doWriteFunctions(attributes, verbose);
1892 }
1893
1894 // Commit the stream -- is a no-op if the existing code is identical
1895 // to the generated code. Returns true if data was written and false

Callers 1

compileAttributesFunction · 0.80

Calls 3

hasInterfaceMethod · 0.80
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected