Patch: minor Gtk peer work

Bryce McKinlay bryce@albatross.co.nz
Fri Jan 12 15:31:00 GMT 2001


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 ]




More information about the Java-patches mailing list