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

Function NonConst

python/pyarrow/src/arrow/python/datetime.cc:55–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55constexpr char* NonConst(const char* st) {
56 // Hack for python versions < 3.7 where members of PyStruct members
57 // where non-const (C++ doesn't like assigning string literals to these types)
58 return const_cast<char*>(st);
59}
60
61static PyTypeObject MonthDayNanoTupleType = {};
62

Callers 1

datetime.ccFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected