view dwt/internal/cocoa/CGFloat.d @ 26:74a3be48bba8

Ported dwt.widgets.ScrollBar
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Mon, 08 Sep 2008 17:55:37 +0200
parents 30a762abda2a
children 642f460a0908
line wrap: on
line source

/**
 * Copyright: Copyright (c) 2008 Jacob Carlborg. All rights reserved.
 * Authors: Jacob Carlborg
 * Version: Initial created: Jul 23, 2008
 * License: $(LINK2 http://opensource.org/licenses/bsd-license.php, BSD Style)
 * 
 */
module dwt.internal.cocoa.CGFloat;

static if ((void*).sizeof > int.sizeof) // 64bit target
    alias double CGFloat;

else
    alias float CGFloat;