[cairo-commit] CairoJava/jni utils.h,1.1,1.2
Soorya Kuloor
commit at pdx.freedesktop.org
Tue May 11 12:51:30 PDT 2004
Committed by: skuloor
Update of /cvs/cairo/CairoJava/jni
In directory pdx:/tmp/cvs-serv947/jni
Modified Files:
utils.h
Log Message:
Add couple definitions of exception handling functions
Index: utils.h
===================================================================
RCS file: /cvs/cairo/CairoJava/jni/utils.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** a/utils.h 30 Apr 2004 17:47:39 -0000 1.1
--- b/utils.h 11 May 2004 19:51:27 -0000 1.2
***************
*** 30,33 ****
--- 30,34 ----
#include <jni.h>
+ #include <cairo.h>
#define TO_PTR(type, longvalue) ((type *) (long) longvalue)
***************
*** 35,38 ****
--- 36,42 ----
jdoubleArray newPoint(JNIEnv *env, double x, double y);
+ void throw_surface_not_supported_exception(JNIEnv *env, const char* surfaceType);
+ void check_cairo_error(JNIEnv *env, cairo_t* cr);
+ void check_cairo_status(JNIEnv *env, cairo_status_t status);
/*
More information about the cairo-commit
mailing list