Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_ByteBlockPool$DirectAllocator_H
#define org_apache_lucene_util_ByteBlockPool$DirectAllocator_H
#include "org/apache/lucene/util/ByteBlockPool$Allocator.h"
namespace java {
namespace lang {
class Class;
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace util {
class ByteBlockPool$DirectAllocator : public ::org::apache::lucene::util::ByteBlockPool$Allocator {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_54889bef30791899,
mid_recycleByteBlocks_02300cfdcaa4ce2f,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit ByteBlockPool$DirectAllocator(jobject obj) : ::org::apache::lucene::util::ByteBlockPool$Allocator(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
ByteBlockPool$DirectAllocator(const ByteBlockPool$DirectAllocator& obj) : ::org::apache::lucene::util::ByteBlockPool$Allocator(obj) {}
ByteBlockPool$DirectAllocator();
ByteBlockPool$DirectAllocator(jint);
void recycleByteBlocks(const JArray< JArray< jbyte > > &, jint, jint) const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
extern PyType_Def PY_TYPE_DEF(ByteBlockPool$DirectAllocator);
extern PyTypeObject *PY_TYPE(ByteBlockPool$DirectAllocator);
class t_ByteBlockPool$DirectAllocator {
public:
PyObject_HEAD
ByteBlockPool$DirectAllocator object;
static PyObject *wrap_Object(const ByteBlockPool$DirectAllocator&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif