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 / pylucene / store / PythonLock.h
Size: Mime:
#ifndef org_apache_pylucene_store_PythonLock_H
#define org_apache_pylucene_store_PythonLock_H

#include "org/apache/lucene/store/Lock.h"

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

namespace org {
  namespace apache {
    namespace pylucene {
      namespace store {

        class PythonLock : public ::org::apache::lucene::store::Lock {
         public:
          enum {
            mid_init$_d7775b228e076e62,
            mid_close_d7775b228e076e62,
            mid_ensureValid_d7775b228e076e62,
            mid_finalize_d7775b228e076e62,
            mid_pythonDecRef_d7775b228e076e62,
            mid_pythonExtension_062ad918b5794303,
            mid_pythonExtension_ea21977c7b14e0c0,
            max_mid
          };

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

          explicit PythonLock(jobject obj) : ::org::apache::lucene::store::Lock(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          PythonLock(const PythonLock& obj) : ::org::apache::lucene::store::Lock(obj) {}

          PythonLock();

          void close() const;
          void ensureValid() const;
          void finalize() const;
          void pythonDecRef() const;
          jlong pythonExtension() const;
          void pythonExtension(jlong) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace pylucene {
      namespace store {
        extern PyType_Def PY_TYPE_DEF(PythonLock);
        extern PyTypeObject *PY_TYPE(PythonLock);

        class t_PythonLock {
        public:
          PyObject_HEAD
          PythonLock object;
          static PyObject *wrap_Object(const PythonLock&);
          static PyObject *wrap_jobject(const jobject&);
          static void install(PyObject *module);
          static void initialize(PyObject *module);
        };
      }
    }
  }
}

#endif