2 * Licensed under the Apache License, Version 2.0 (the "License");
3 * you may not use this file except in compliance with the License.
4 * You may obtain a copy of the License at
6 * http://www.apache.org/licenses/LICENSE-2.0
8 * Unless required by applicable law or agreed to in writing, software
9 * distributed under the License is distributed on an "AS IS" BASIS,
10 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11 * See the License for the specific language governing permissions and
12 * limitations under the License.
20 PyObject *__initialize__(PyObject *module, PyObject *args, PyObject *kwds);
21 PyObject *initVM(PyObject *self, PyObject *args, PyObject *kwds);
22 PyObject *getVMEnv(PyObject *self);
23 PyObject *_set_exception_types(PyObject *self, PyObject *args);
24 PyObject *_set_function_self(PyObject *self, PyObject *args);
25 PyObject *findClass(PyObject *self, PyObject *args);
26 PyObject *JArray_Type(PyObject *self, PyObject *arg);
28 PyMethodDef jcc_funcs[] = {
29 { "initVM", (PyCFunction) __initialize__,
30 METH_VARARGS | METH_KEYWORDS, NULL },
31 { "getVMEnv", (PyCFunction) getVMEnv,
33 { "findClass", (PyCFunction) findClass,
35 { "_set_exception_types", (PyCFunction) _set_exception_types,
37 { "_set_function_self", (PyCFunction) _set_function_self,
39 { "JArray", (PyCFunction) JArray_Type,
41 { NULL, NULL, 0, NULL }
46 #endif /* _jccfuncs_H */