MCPcopy Create free account
hub / github.com/apache/arrow / InitAltrepMethods

Function InitAltrepMethods

r/src/altrep.cpp:953–960  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

951// initialize altrep, altvec, altreal, and altinteger methods
952template <typename AltrepClass>
953void InitAltrepMethods(R_altrep_class_t class_t, DllInfo* dll) {
954 R_set_altrep_Length_method(class_t, AltrepClass::Length);
955 R_set_altrep_Inspect_method(class_t, AltrepClass::Inspect);
956 R_set_altrep_Duplicate_method(class_t, AltrepClass::Duplicate);
957 R_set_altrep_Serialized_state_method(class_t, AltrepClass::Serialized_state);
958 R_set_altrep_Unserialize_method(class_t, AltrepClass::Unserialize);
959 R_set_altrep_Coerce_method(class_t, AltrepClass::Coerce);
960}
961
962template <typename AltrepClass>
963void InitAltvecMethods(R_altrep_class_t class_t, DllInfo* dll) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected