diff options
| author | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-18 14:20:53 +0000 |
|---|---|---|
| committer | green <green@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-18 14:20:53 +0000 |
| commit | 67c4affe1b2455ccaee4e6f882fa72840e4f88b9 (patch) | |
| tree | e1bb7b54d3a4998a94109fc23d7049a9867f87fb /libjava/include | |
| parent | d0d17eb384e8ad619a03ec1b61a4cca1a0e32eb9 (diff) | |
| download | ppe42-gcc-67c4affe1b2455ccaee4e6f882fa72840e4f88b9.tar.gz ppe42-gcc-67c4affe1b2455ccaee4e6f882fa72840e4f88b9.zip | |
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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99903 138bc75d-0d04-0410-961f-82ee72b054a4
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 fdff9356a11..bbefe2063f4 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. */ }; |

