view cpp/qt_qtd/ArrayOpsPrimitive_shell.cpp @ 393:1049b01aebd2

Fixed generator segfaults on OS X 10.6. Regarding the change to dgenerator.cpp, I am not actually sure if 0 is the correct value to pass, but it seems to work and the code which had been there before was just plain incorrect ? it read past the list boundaries.
author David Nadlinger <code@klickverbot.at>
date Sat, 28 Aug 2010 02:55:55 +0200
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)