This is the mail archive of the
java-patches@sources.redhat.com
mailing list for the Java project.
Re: Patch: minor Gtk peer work
- To: tromey at redhat dot com
- Subject: Re: Patch: minor Gtk peer work
- From: Bryce McKinlay <bryce at albatross dot co dot nz>
- Date: Sat, 13 Jan 2001 12:32:06 +1300
- CC: Java Patch List <java-patches at sourceware dot cygnus dot com>
- References: <87wvc0z6vr.fsf@creche.redhat.com>
Tom Tromey wrote:
> diff -u -r1.1 gtkcommon.h
> --- gtkcommon.h 2000/10/02 05:14:25 1.1
> +++ gtkcommon.h 2001/01/12 23:00:40
> @@ -17,6 +17,20 @@
>
> #include <java/awt/Color.h>
>
> +class _Jv_GdkThreadLock
> +{
> +public:
> + _Jv_GdkThreadLock ()
> + {
> + GDK_THREADS_ENTER ();
> + }
> +
> + ~_Jv_GdkThreadLock ()
> + {
> + GDK_THREADS_LEAVE ();
> + }
> +};
Do the constructor and destructor here get inlined automatically, or do they need to be declared
"inline"?
regards
[ bryce ]