102 template <
typename T>
109 uint8_t
const* in =
reinterpret_cast<uint8_t const*
>(ptr);
Used as a std::shared_ptr deleter (second argument) to overload delete ptr with delete[] ptr.
Definition util.h:103
void operator()(T const *ptr)
Called by std::shared_ptr when its reference count reaches zero.
Definition util.h:108
#define LIBAWKWARD_EXPORT_SYMBOL
Definition common.h:44
std::string quote(const std::string &x)
Puts quotation marks around a string and escapes the appropriate characters.
ForthError
Exhaustive list of runtime errors possible in the ForthMachine.
Definition util.h:67
@ recursion_depth_exceeded
const std::string dtype_to_name(dtype dt)
Returns the name associated with a given dtype.
dtype
NumPy dtypes that can be interpreted within Awkward C++ (only the primitive, fixed-width types)....
Definition util.h:22
const std::string dtype_to_format(dtype dt, const std::string &format="")
Convert a dtype enum into a NumPy format string.
Definition ArrayBuilder.h:14