diff dwt/ole/win32/Variant.d @ 246:fd9c62a2998e

Updater SWT 3.4M7 to 3.4
author Frank Benoit <benoit@tionex.de>
date Tue, 01 Jul 2008 10:15:59 +0200
parents ab60f3309436
children acf6957f2344
line wrap: on
line diff
--- a/dwt/ole/win32/Variant.d	Tue Jul 01 08:58:50 2008 +0200
+++ b/dwt/ole/win32/Variant.d	Tue Jul 01 10:15:59 2008 +0200
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2000, 2006 IBM Corporation and others.
+ * Copyright (c) 2000, 2008 IBM Corporation and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -35,8 +35,10 @@
  * a method on an OLE Control or OLE Document.
  *
  */
-public final class Variant
-{
+public final class Variant {
+    /**
+    * The size in bytes of a native VARIANT struct.
+    */
     /**
      * A variant always takes up 16 bytes, no matter what you
      * store in it. Objects, strings, and arrays are not physically
@@ -45,8 +47,9 @@
      * pointer to the string or array. The actual data are stored elsewhere.
      */
     //public static final int sizeof = 16;
+
+
     private short type; // OLE.VT_* type
-
     private bool booleanData;
     private byte    byteData;
     private short   shortData;
@@ -205,7 +208,7 @@
  *
  * @param val the Java long value that this Variant represents
  *
- *@since 3.2
+ * @since 3.2
  */
  public this(long val) {
     type = COM.VT_I8;