diff dwt/dnd/Transfer.d @ 255:5a30aa9820f3

removed tango.stdc.stringz imports and allow null for arrays and string arguments.
author Frank Benoit <benoit@tionex.de>
date Sun, 15 Jun 2008 22:32:20 +0200
parents 380bad9f6852
children c0d810de7093
line wrap: on
line diff
--- a/dwt/dnd/Transfer.d	Sun Jun 08 15:11:48 2008 +0200
+++ b/dwt/dnd/Transfer.d	Sun Jun 15 22:32:20 2008 +0200
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/*******************************************************************************
  * Copyright (c) 2000, 2007 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
@@ -19,7 +19,6 @@
 import dwt.internal.gtk.OS;
 import dwt.dnd.TransferData;
 
-static import tango.stdc.stringz;
 
 /**
  * <code>Transfer</code> provides a mechanism for converting between a java
@@ -139,7 +138,7 @@
  */
 public static int registerType(String formatName){
     if (formatName is null) return OS.GDK_NONE;
-    char* buffer = tango.stdc.stringz.toStringz( formatName );
+    char* buffer = toStringz( formatName );
     return cast(int)/*64*/OS.gdk_atom_intern(buffer, false);
 }