Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / util / IntBlockPool$Allocator.h
Size: Mime:
#ifndef org_apache_lucene_util_IntBlockPool$Allocator_H
#define org_apache_lucene_util_IntBlockPool$Allocator_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {

        class IntBlockPool$Allocator : public ::java::lang::Object {
         public:
          enum {
            mid_init$_54889bef30791899,
            mid_getIntBlock_ec3af30270431d24,
            mid_recycleIntBlocks_e6cfbbfc5c14b1e6,
            max_mid
          };

          static ::java::lang::Class *class$;
          static jmethodID *mids$;
          static bool live$;
          static jclass initializeClass(bool);

          explicit IntBlockPool$Allocator(jobject obj) : ::java::lang::Object(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          IntBlockPool$Allocator(const IntBlockPool$Allocator& obj) : ::java::lang::Object(obj) {}

          IntBlockPool$Allocator(jint);

          JArray< jint > getIntBlock() const;
          void recycleIntBlocks(const JArray< JArray< jint > > &, jint, jint) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        extern PyType_Def PY_TYPE_DEF(IntBlockPool$Allocator);
        extern PyTypeObject *PY_TYPE(IntBlockPool$Allocator);

        class t_IntBlockPool$Allocator {
        public:
          PyObject_HEAD
          IntBlockPool$Allocator object;
          static PyObject *wrap_Object(const IntBlockPool$Allocator&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif