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

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

namespace java {
  namespace lang {
    class Class;
    class String;
    class Throwable;
  }
  namespace io {
    class IOException;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace store {
        class Lock;
        class Directory;
      }
    }
  }
}
template<class T> class JArray;

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

        class PythonLockFactory : public ::org::apache::lucene::store::LockFactory {
         public:
          enum {
            mid_init$_d7775b228e076e62,
            mid_finalize_d7775b228e076e62,
            mid_obtainLock_95d5b333a3332cde,
            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 PythonLockFactory(jobject obj) : ::org::apache::lucene::store::LockFactory(obj) {
            if (obj != NULL && mids$ == NULL)
              env->getClass(initializeClass);
          }
          PythonLockFactory(const PythonLockFactory& obj) : ::org::apache::lucene::store::LockFactory(obj) {}

          PythonLockFactory();

          void finalize() const;
          ::org::apache::lucene::store::Lock obtainLock(const ::org::apache::lucene::store::Directory &, const ::java::lang::String &) 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(PythonLockFactory);
        extern PyTypeObject *PY_TYPE(PythonLockFactory);

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

#endif