view cpp/qt_qtd/ArrayOpsPrimitive_shell.cpp @ 396:d0a103f25091

Work around CTFE regression in DMD. The error message emitted by DMD 2.051 was ?Declaration (string, ?, string) allSymbols = tuple("__ctor", ?, "__T8Q_OBJECTZ") is not yet implemented in CTFE?.
author David Nadlinger <code@klickverbot.at>
date Mon, 03 Jan 2011 08:06:13 +0100
parents d2f48c4cb3e3
children
line wrap: on
line source

/**
    Copyright: Copyright QtD Team, 2008-2010
    License: Boost License 1.0
 */

#include "ArrayOpsPrimitive.h"

QTD_FUNC(CORE, allocate_int_array)
QTD_FUNC(CORE, assign_int_array_element)
QTD_FUNC(CORE, get_int_from_array)

QTD_FUNC(CORE, allocate_uint_array)
QTD_FUNC(CORE, assign_uint_array_element)
QTD_FUNC(CORE, get_uint_from_array)

QTD_FUNC(CORE, allocate_double_array)
QTD_FUNC(CORE, assign_double_array_element)
QTD_FUNC(CORE, get_double_from_array)

QTD_FUNC(CORE, allocate_string_array)
QTD_FUNC(CORE, assign_string_array_element)
QTD_FUNC(CORE, string_from_array)
QTD_FUNC(CORE, get_string_from_array)