Ejemplo n.º 1
0
static PyObject * py_ogg_oggpack_adv1(PyObject *self, PyObject *args) {
  int size;
  oggpack_buffer * b;
  PyArg_ParseTuple(args, "s#", &b, &size);
  oggpack_adv1(b);
  Py_INCREF(Py_None);
  return Py_None;
};
/*
 * Class:     org_tritonus_lowlevel_ogg_Buffer
 * Method:    adv1
 * Signature: ()V
 */
JNIEXPORT void JNICALL
Java_org_tritonus_lowlevel_ogg_Buffer_adv1
(JNIEnv* env, jobject obj)
{
	oggpack_buffer*	handle;

	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_ogg_Buffer_adv1(): begin\n"); }
	handle = getHandle(env, obj);
	oggpack_adv1(handle);
	if (debug_flag) { fprintf(debug_file, "Java_org_tritonus_lowlevel_ogg_Buffer_adv1(): end\n"); }
}
JNIEXPORT void JNICALL Java_org_echocat_jogg_OggPackBufferJNI_adv1
    (JNIEnv *env, jclass thisClass, jlong handle) {

    oggpack_adv1((oggpack_buffer*) handle);
}