blob: 85843cb28c1a15d7cd7ae74e7e2e409c03c2575e [file] [log] [blame]
#ifndef TH_GENERIC_FILE
#define TH_GENERIC_FILE "torch/csrc/generic/Storage.h"
#else
#include <torch/csrc/StorageDefs.h>
THP_API PyObject * THPStorage_(New)(THWStorage *ptr);
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
extern PyObject *THPStorageClass;
#include <torch/csrc/Types.h>
bool THPStorage_(init)(PyObject *module);
void THPStorage_(postInit)(PyObject *module);
// NOLINTNEXTLINE(cppcoreguidelines-avoid-non-const-global-variables)
extern PyTypeObject THPStorageType;
#endif