This is the mail archive of the java-patches@sources.redhat.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Patch: minor Gtk peer work


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 ]



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]