Mercurial > projects > dwt2
view org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/internal/C.d @ 125:c43718956f21 default tip
Updated the snippets status.
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 11 Aug 2011 19:55:14 +0200 |
parents | 4642ab680468 |
children |
line wrap: on
line source
/******************************************************************************* * 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 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * IBM Corporation - initial API and implementation *******************************************************************************/ module org.eclipse.swt.internal.C; import org.eclipse.swt.internal.Platform; version(Tango){ static import tango.stdc.string; } else { // Phobos static import std.c.string; } public class C : Platform { version(Tango){ alias tango.stdc.string.memmove MoveMemory; } else { // Phobos alias std.c.string.memmove MoveMemory; } //public static final native void free (int /*long*/ ptr); //public static final native int /*long*/ getenv (byte[] wcsToMbcs); //public static final native int /*long*/ malloc (int /*long*/ size); }