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 / RefCount.h
Size: Mime:
#ifndef org_apache_lucene_util_RefCount_H
#define org_apache_lucene_util_RefCount_H

#include "java/lang/Object.h"

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

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

        class RefCount : public ::java::lang::Object {
         public:
          enum {
            mid_init$_1d5023a3552b584b,
            mid_decRef_d7775b228e076e62,
            mid_get_59eb473b04cd17bc,
            mid_getRefCount_9135e6328d9d7dfd,
            mid_incRef_d7775b228e076e62,
            mid_release_d7775b228e076e62,
            max_mid
          };

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

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

          RefCount(const ::java::lang::Object &);

          void decRef() const;
          ::java::lang::Object get() const;
          jint getRefCount() const;
          void incRef() const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        extern PyType_Def PY_TYPE_DEF(RefCount);
        extern PyTypeObject *PY_TYPE(RefCount);

        class t_RefCount {
        public:
          PyObject_HEAD
          RefCount object;
          PyTypeObject *parameters[1];
          static PyTypeObject **parameters_(t_RefCount *self)
          {
            return (PyTypeObject **) &(self->parameters);
          }
          static PyObject *wrap_Object(const RefCount&);
          static PyObject *wrap_jobject(const jobject&);
          static PyObject *wrap_Object(const RefCount&, PyTypeObject *);
          static PyObject *wrap_jobject(const jobject&, PyTypeObject *);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif