diff options
author | Anthony Green <green@redhat.com> | 2005-05-18 14:20:53 +0000 |
---|---|---|
committer | Anthony Green <green@gcc.gnu.org> | 2005-05-18 14:20:53 +0000 |
commit | 9a6411ed3017504e23874b29150e06f9126788a5 (patch) | |
tree | e1bb7b54d3a4998a94109fc23d7049a9867f87fb /libjava/include | |
parent | 4e876a0fb9db7f2bfc6ba477c468b4cb8ec2f6a9 (diff) | |
download | gcc-9a6411ed3017504e23874b29150e06f9126788a5.zip gcc-9a6411ed3017504e23874b29150e06f9126788a5.tar.gz gcc-9a6411ed3017504e23874b29150e06f9126788a5.tar.bz2 |
gtk_jawt.c (classpath_jawt_object_lock, [...]): New functions.
2005-05-18 Anthony Green <green@redhat.com>
* jni/gtk-peer/gtk_jawt.c (classpath_jawt_object_lock,
classpath_jawt_object_unlock, classpath_jawt_create_lock,
classpath_jawt_destroy_lock): New functions.
* jni/classpath/classpath_jawt.h (classpath_jawt_object_lock,
classpath_jawt_object_unlock, classpath_jawt_create_lock,
classpath_jawt_destroy_lock): New functions.
* include/jawt.h (struct _JAWT_DrawingSurface): Add lock
field.
* jawt.c: #include malloc.h.
(_Jv_Lock): Use lock.
(_Jv_Unlock): Ditto.
(_Jv_GetDrawingSurface): Initialize lock.
(_Jv_FreeDrawingSurface): Destroy lock.
(_Jv_FreeDrawingSurfaceInfo): Free platformInfo.
From-SVN: r99903
Diffstat (limited to 'libjava/include')
-rw-r--r-- | libjava/include/jawt.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libjava/include/jawt.h b/libjava/include/jawt.h index fdff935..bbefe206 100644 --- a/libjava/include/jawt.h +++ b/libjava/include/jawt.h @@ -72,6 +72,9 @@ struct _JAWT_DrawingSurface struct _JAWT_DrawingSurfaceInfo* surface_info; + /* An object we're going to use for locking the surface. */ + jobject lock; + /* FIXME: also include bounding rectangle of drawing surface. */ /* FIXME: also include current clipping region. */ }; |