* [#14863](http://bugzilla.scilab.org/show_bug.cgi?id=14863): In Xcos, the default ending time was unhandily high (100000), reduced it to 30.
* [#14982](http://bugzilla.scilab.org/show_bug.cgi?id=14982): `msprintf` segmentation fault was caught due to wrong size
* [#14985](http://bugzilla.scilab.org/show_bug.cgi?id=14985): scilab crashed if a .bin file was not found.
-* [#15087](http://bugzilla.scilab.org/show_bug.cgi?id=15087): Deleting rows or columns from a matrix is slow (regression
-)
+* [#15087](http://bugzilla.scilab.org/show_bug.cgi?id=15087): Deleting rows or columns from a matrix is slow (regression)
* [#15248](http://bugzilla.scilab.org/show_bug.cgi?id=15248): `lsq()`was leaking memory.
* [#15269](http://bugzilla.scilab.org/show_bug.cgi?id=15269): `xgetech` was poor and stiff compared to any combination of `gca()` properties `.axes_bounds`, `.data_bounds`, `.log_flags`, and `.margins`. It is removed.
* [#15271](http://bugzilla.scilab.org/show_bug.cgi?id=15271): `bitget` needed to be upgraded.
* [#16015](http://bugzilla.scilab.org/show_bug.cgi?id=116015): `intg(a,b,f)` called f(x) with x outside [a,b].
* [#16021](http://bugzilla.scilab.org/show_bug.cgi?id=16021): `tand([-90 90])` answered [Nan Nan] instead of [-Inf, Inf]. `cotd([-90 90])` answered [Nan Nan] instead of [0 0]. `1 ./cosd([-90 90])` answered [Inf -Inf] instead of [Inf Inf].
* [#16026](http://bugzilla.scilab.org/show_bug.cgi?id=16026): For `atanh()`, neither the documentation pages nor the `m2sci` converter were up to date.
+* [#16051](http://bugzilla.scilab.org/show_bug.cgi?id=16051): undefined list elements could be of 2 distinct typeof "void" or "listundefined" according to the way they are created.
* [#16067](http://bugzilla.scilab.org/show_bug.cgi?id=16067): The display of matrices of signed integers was misaligned (regression of 6.0.0 vs 5.5.2)
* [#16071](http://bugzilla.scilab.org/show_bug.cgi?id=16071): `prettyprint(complex(1,%nan))` omitted the "+" in `1 + Nani`. It printed positive exponents with a useless "+". For any input nul polynomial, the string result never included the name of the variable. Default input arguments could not be skipped. ExportFormat was uselessly case-sensitive. For tex|latex: for text input, $ \ % & { } ~ and ^ special characters were not protected ; spaces were not protected, all words were concatenated ; for polynomials and rationals, the result string could be extremely long and not easily wrappable. For MathML: "<" was not protected ; <mi></mi> were missing for text input ; <mtable>, </mtable>, <mtr>, </mtr>, <mtd>, <mfenced> and </mfenced> tags were not wrapped and could not be indented. Delimiters: "" was not documented as possible value ; ")" was wrongly documented. Dynamical linear systems were not documented as possible input.
* [#16072](http://bugzilla.scilab.org/show_bug.cgi?id=16072): `prettyprint()` did not actually support input encoded integers.
#include <map>
#include <string>
#include "list.hxx"
-#include "listundefined.hxx"
+#include "void.hxx"
#include "tlist.hxx"
#include "mlist.hxx"
#include "struct.hxx"
types::List* pL = (types::List*)_piAddress;
//get offset of item array
types::InternalType* pIT = pL->get(_iItemNum - 1);
- if (pIT->isListUndefined())
+ if (pIT->isVoid())
{
*_piItemAddress = NULL;
}
*_piAddress = (int*)pL;
// create a list with the user number of items
// it helps to check a wrong item, for example in createCommonListInList
- pL->set(_iNbItem - 1, new types::ListUndefined());
+ pL->set(_iNbItem - 1, new types::Void());
wchar_t* pwstName = to_wide_string(_pstName);
symbol::Context* ctx = symbol::Context::getInstance();
// create a list with the user number of items
// it helps to check a wrong item, for example in createCommonListInList
- pL->set(_iNbItem - 1, new types::ListUndefined());
+ pL->set(_iNbItem - 1, new types::Void());
int rhs = _iVar - *getNbInputArgument(_pvCtx);
out[rhs - 1] = pL;
return sciErr;
}
// create a list in the list with a user number of items
- pChild->set(_iNbItem - 1, new types::ListUndefined());
+ pChild->set(_iNbItem - 1, new types::Void());
types::List* pParent = (types::List*)_piParent;
pParent->set(_iItemPos - 1, pChild);
return sciErr;
}
- pL->set(_iItemPos - 1, new types::ListUndefined());
+ pL->set(_iItemPos - 1, new types::Void());
return sciErr;
}
}
#endif
types::InternalType* item = l->get(index);
- if (item->isListUndefined())
+ if (item->isVoid())
{
return 1;
}
src/cpp/types/listdelete.cpp \
src/cpp/types/listinsert.cpp \
src/cpp/types/listoperation.cpp \
-src/cpp/types/listundefined.cpp \
src/cpp/types/macro.cpp \
src/cpp/types/macrofile.cpp \
src/cpp/types/mlist.cpp \
includes/types/list.hxx \
includes/types/listinsert.hxx \
includes/types/listoperation.hxx \
-includes/types/listundefined.hxx \
includes/types/macrofile.hxx \
includes/types/macro.hxx \
includes/types/matrixiterator.hxx \
src/cpp/types/implicitlist.cpp src/cpp/types/int.cpp \
src/cpp/types/library.cpp src/cpp/types/list.cpp \
src/cpp/types/listdelete.cpp src/cpp/types/listinsert.cpp \
- src/cpp/types/listoperation.cpp \
- src/cpp/types/listundefined.cpp src/cpp/types/macro.cpp \
+ src/cpp/types/listoperation.cpp src/cpp/types/macro.cpp \
src/cpp/types/macrofile.cpp src/cpp/types/mlist.cpp \
src/cpp/types/overload.cpp src/cpp/types/polynom.cpp \
src/cpp/types/singlepoly.cpp src/cpp/types/singlestruct.cpp \
src/cpp/types/libsciast_la-listdelete.lo \
src/cpp/types/libsciast_la-listinsert.lo \
src/cpp/types/libsciast_la-listoperation.lo \
- src/cpp/types/libsciast_la-listundefined.lo \
src/cpp/types/libsciast_la-macro.lo \
src/cpp/types/libsciast_la-macrofile.lo \
src/cpp/types/libsciast_la-mlist.lo \
src/cpp/types/$(DEPDIR)/libsciast_la-listdelete.Plo \
src/cpp/types/$(DEPDIR)/libsciast_la-listinsert.Plo \
src/cpp/types/$(DEPDIR)/libsciast_la-listoperation.Plo \
- src/cpp/types/$(DEPDIR)/libsciast_la-listundefined.Plo \
src/cpp/types/$(DEPDIR)/libsciast_la-macro.Plo \
src/cpp/types/$(DEPDIR)/libsciast_la-macrofile.Plo \
src/cpp/types/$(DEPDIR)/libsciast_la-mlist.Plo \
src/cpp/types/implicitlist.cpp src/cpp/types/int.cpp \
src/cpp/types/library.cpp src/cpp/types/list.cpp \
src/cpp/types/listdelete.cpp src/cpp/types/listinsert.cpp \
- src/cpp/types/listoperation.cpp \
- src/cpp/types/listundefined.cpp src/cpp/types/macro.cpp \
+ src/cpp/types/listoperation.cpp src/cpp/types/macro.cpp \
src/cpp/types/macrofile.cpp src/cpp/types/mlist.cpp \
src/cpp/types/overload.cpp src/cpp/types/polynom.cpp \
src/cpp/types/singlepoly.cpp src/cpp/types/singlestruct.cpp \
includes/types/list.hxx \
includes/types/listinsert.hxx \
includes/types/listoperation.hxx \
-includes/types/listundefined.hxx \
includes/types/macrofile.hxx \
includes/types/macro.hxx \
includes/types/matrixiterator.hxx \
src/cpp/types/libsciast_la-listoperation.lo: \
src/cpp/types/$(am__dirstamp) \
src/cpp/types/$(DEPDIR)/$(am__dirstamp)
-src/cpp/types/libsciast_la-listundefined.lo: \
- src/cpp/types/$(am__dirstamp) \
- src/cpp/types/$(DEPDIR)/$(am__dirstamp)
src/cpp/types/libsciast_la-macro.lo: src/cpp/types/$(am__dirstamp) \
src/cpp/types/$(DEPDIR)/$(am__dirstamp)
src/cpp/types/libsciast_la-macrofile.lo: \
@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/types/$(DEPDIR)/libsciast_la-listdelete.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/types/$(DEPDIR)/libsciast_la-listinsert.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/types/$(DEPDIR)/libsciast_la-listoperation.Plo@am__quote@ # am--include-marker
-@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/types/$(DEPDIR)/libsciast_la-listundefined.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/types/$(DEPDIR)/libsciast_la-macro.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/types/$(DEPDIR)/libsciast_la-macrofile.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__include@ @am__quote@src/cpp/types/$(DEPDIR)/libsciast_la-mlist.Plo@am__quote@ # am--include-marker
@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciast_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/types/libsciast_la-listoperation.lo `test -f 'src/cpp/types/listoperation.cpp' || echo '$(srcdir)/'`src/cpp/types/listoperation.cpp
-src/cpp/types/libsciast_la-listundefined.lo: src/cpp/types/listundefined.cpp
-@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciast_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/types/libsciast_la-listundefined.lo -MD -MP -MF src/cpp/types/$(DEPDIR)/libsciast_la-listundefined.Tpo -c -o src/cpp/types/libsciast_la-listundefined.lo `test -f 'src/cpp/types/listundefined.cpp' || echo '$(srcdir)/'`src/cpp/types/listundefined.cpp
-@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/types/$(DEPDIR)/libsciast_la-listundefined.Tpo src/cpp/types/$(DEPDIR)/libsciast_la-listundefined.Plo
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='src/cpp/types/listundefined.cpp' object='src/cpp/types/libsciast_la-listundefined.lo' libtool=yes @AMDEPBACKSLASH@
-@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@
-@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciast_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -c -o src/cpp/types/libsciast_la-listundefined.lo `test -f 'src/cpp/types/listundefined.cpp' || echo '$(srcdir)/'`src/cpp/types/listundefined.cpp
-
src/cpp/types/libsciast_la-macro.lo: src/cpp/types/macro.cpp
@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(LIBTOOL) $(AM_V_lt) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(libsciast_la_CPPFLAGS) $(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) -MT src/cpp/types/libsciast_la-macro.lo -MD -MP -MF src/cpp/types/$(DEPDIR)/libsciast_la-macro.Tpo -c -o src/cpp/types/libsciast_la-macro.lo `test -f 'src/cpp/types/macro.cpp' || echo '$(srcdir)/'`src/cpp/types/macro.cpp
@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) src/cpp/types/$(DEPDIR)/libsciast_la-macro.Tpo src/cpp/types/$(DEPDIR)/libsciast_la-macro.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listdelete.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listinsert.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listoperation.Plo
- -rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listundefined.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-macro.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-macrofile.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-mlist.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listdelete.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listinsert.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listoperation.Plo
- -rm -f src/cpp/types/$(DEPDIR)/libsciast_la-listundefined.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-macro.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-macrofile.Plo
-rm -f src/cpp/types/$(DEPDIR)/libsciast_la-mlist.Plo
<ClInclude Include="includes\types\listdelete.hxx" />\r
<ClInclude Include="includes\types\listinsert.hxx" />\r
<ClInclude Include="includes\types\listoperation.hxx" />\r
- <ClInclude Include="includes\types\listundefined.hxx" />\r
<ClInclude Include="includes\types\macro.hxx" />\r
<ClInclude Include="includes\types\macrofile.hxx" />\r
<ClInclude Include="includes\types\matrixiterator.hxx" />\r
<ClCompile Include="src\cpp\types\listdelete.cpp" />\r
<ClCompile Include="src\cpp\types\listinsert.cpp" />\r
<ClCompile Include="src\cpp\types\listoperation.cpp" />\r
- <ClCompile Include="src\cpp\types\listundefined.cpp" />\r
<ClCompile Include="src\cpp\types\macro.cpp" />\r
<ClCompile Include="src\cpp\types\macrofile.cpp" />\r
<ClCompile Include="src\cpp\types\mlist.cpp" />\r
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />\r
<ImportGroup Label="ExtensionTargets">\r
</ImportGroup>\r
-</Project>
\ No newline at end of file
+</Project>
<ClInclude Include="includes\types\listoperation.hxx">
<Filter>Header Files\types</Filter>
</ClInclude>
- <ClInclude Include="includes\types\listundefined.hxx">
- <Filter>Header Files\types</Filter>
- </ClInclude>
<ClInclude Include="includes\types\macro.hxx">
<Filter>Header Files\types</Filter>
</ClInclude>
<ClCompile Include="src\cpp\types\listoperation.cpp">
<Filter>Source Files\types</Filter>
</ClCompile>
- <ClCompile Include="src\cpp\types\listundefined.cpp">
- <Filter>Source Files\types</Filter>
- </ClCompile>
<ClCompile Include="src\cpp\types\macro.cpp">
<Filter>Source Files\types</Filter>
</ClCompile>
<Filter>Source Files\ast</Filter>
</ClCompile>
</ItemGroup>
-</Project>
\ No newline at end of file
+</Project>
#include "listoperation.hxx"
#include "listdelete.hxx"
#include "listinsert.hxx"
-#include "listundefined.hxx"
#include "tlist.hxx"
#include "mlist.hxx"
#include "file.hxx"
virtual bool isListOperation(void);
virtual bool isListDelete(void);
virtual bool isListInsert(void);
- virtual bool isListUndefined(void);
virtual bool isPointer(void);
virtual bool isLibrary(void);
virtual bool isUserType(void);
+ virtual bool isVoid(void);
void clearPrintState();
+++ /dev/null
-/*
- * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
- * Copyright (C) 2009-2010 - DIGITEO - Antoine ELIAS
- *
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * along with this program.
- *
- */
-
-#ifndef __LISTUNDEFINED_HXX__
-#define __LISTUNDEFINED_HXX__
-
-#include "types.hxx"
-#include "listoperation.hxx"
-
-namespace types
-{
-class EXTERN_AST ListUndefined : public ListOperation
-{
-public :
- ListUndefined(): ListOperation() {};
- virtual ~ListUndefined();
-
- // FIXME : Should not return NULL;
- ListUndefined* clone();
-
- ScilabType getType(void);
- bool isListUndefined()
- {
- return true;
- }
-
- void whoAmI();
-
- bool toString(std::wostringstream& ostr);
-
- /* return type as string ( double, int, cell, list, ... )*/
- virtual std::wstring getTypeStr() const
- {
- return L"listundefined";
- }
- /* return type as short string ( s, i, ce, l, ... )*/
- virtual std::wstring getShortTypeStr() const
- {
- return L"";
- }
-};
-}
-
-
-#endif /* !__LISTUNDEFINED_HXX__ */
return IdVoid;
}
- bool isVoid()
+ bool isVoid() override
{
return true;
}
int iNewSize = pEH->getSizeFromArgs();
if (pTL->getSize() < iNewSize)
{
- pTL = pTL->set(iNewSize - 1, new types::ListUndefined());
+ pTL = pTL->set(iNewSize - 1, new types::Void());
pEH->setCurrent(pTL);
}
int iNewSize = pEH->getSizeFromArgs();
if (pL->getSize() < iNewSize)
{
- pL = pL->set(iNewSize - 1, new types::ListUndefined());
+ pL = pL->set(iNewSize - 1, new types::Void());
pEH->setCurrent(pL);
}
return false;
}
-bool InternalType::isListUndefined(void)
+bool InternalType::isPointer(void)
{
return false;
}
-bool InternalType::isPointer(void)
+bool InternalType::isLibrary(void)
{
return false;
}
-bool InternalType::isLibrary(void)
+bool InternalType::isUserType(void)
{
return false;
}
-bool InternalType::isUserType(void)
+bool InternalType::isVoid(void)
{
return false;
}
#include <sstream>
#include "double.hxx"
#include "list.hxx"
-#include "listundefined.hxx"
+#include "void.hxx"
#include "listinsert.hxx"
#include "types_tools.hxx"
#include "localization.hxx"
//try to insert after the last index, increase list size and assign value
while ((int)m_plData->size() < idx)
{
- //incease list size and fill with "Undefined"
- m_plData->push_back(new ListUndefined());
+ //incease list size and fill with Void type object
+ m_plData->push_back(new types::Void());
}
(*m_plData)[idx - 1] = pInsert;
}
{
while ((int)m_plData->size() < idx)
{
- //incease list size and fill with "Undefined"
- InternalType* pLU = new ListUndefined();
+ //incease list size and fill with Void type object
+ InternalType* pLU = new types::Void();
pLU->IncreaseRef();
m_plData->push_back(pLU);
}
while ((int)m_plData->size() < _iIndex)
{
- //incease list size and fill with "Undefined"
- m_plData->push_back(new ListUndefined());
+ //incease list size and fill with Void type object
+ m_plData->push_back(new types::Void());
m_plData->back()->IncreaseRef();
m_iSize = getSize();
}
+++ /dev/null
-/*
-* Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
-* Copyright (C) 2009-2009 - DIGITEO - Antoine ELIAS
-*
- * Copyright (C) 2012 - 2016 - Scilab Enterprises
- *
- * This file is hereby licensed under the terms of the GNU GPL v2.0,
- * pursuant to article 5.3.4 of the CeCILL v.2.1.
- * This file was originally licensed under the terms of the CeCILL v2.1,
- * and continues to be available under such terms.
- * For more information, see the COPYING file which you should have received
- * along with this program.
-*
-*/
-
-#include <sstream>
-#include <cstdio>
-
-#include "listundefined.hxx"
-#include "localization.h"
-#include "scilabWrite.hxx"
-
-namespace types
-{
-ListUndefined::~ListUndefined()
-{
-}
-
-void ListUndefined::whoAmI()
-{
- std::cout << "types::ListUndefined";
-}
-
-ListUndefined* ListUndefined::clone(void)
-{
- return new ListUndefined();
-}
-
-InternalType::ScilabType ListUndefined::getType(void)
-{
- return ScilabListUndefinedOperation;
-}
-
-bool ListUndefined::toString(std::wostringstream& ostr)
-{
- ostr << L" Undefined" << std::endl;
- return true;
-}
-}
#include "macro.hxx"
#include "list.hxx"
+#include "void.hxx"
#include "listinsert.hxx"
#include "string.hxx"
#include "context.hxx"
for (int i = 0 ; i < size ; ++i)
{
InternalType* pIT = pVarOut->get(i);
- if (pIT->isListUndefined())
+ if (pIT->isVoid())
{
for (int j = 0; j < i; ++j)
{
#include "string.hxx"
#include "list.hxx"
#include "tlist.hxx"
-#include "listundefined.hxx"
#include "callable.hxx"
#include "polynom.hxx"
#include "overload.hxx"
--- /dev/null
+// =============================================================================
+// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+// Copyright (C) 2019 - Stéphane MOTTELET
+//
+// This file is distributed under the same license as the Scilab package.
+// =============================================================================
+//
+// <-- CLI SHELL MODE -->
+// <-- NO CHECK REF -->
+//
+// <-- Non-regression test for bug 16051 -->
+//
+// <-- Bugzilla URL -->
+// http://bugzilla.scilab.org/16051
+//
+// <-- Short Description -->
+// undefined list elements can be of 2 distinct typeof "void" or "listundefined" according to the way they are created
+
+L = list(,);
+L(4) = 1;
+assert_checkequal(type(L(1)), 0)
+assert_checkequal(type(L(3)), 0)
+assert_checkequal(typeof(L(1)), "void")
+assert_checkequal(typeof(L(3)), "void")
#include "core_gw.hxx"
#include "function.hxx"
#include "listinsert.hxx"
-#include "listundefined.hxx"
+#include "void.hxx"
types::Function::ReturnValue sci_insert(types::typed_list &in, int _piRetCount, types::typed_list &out)
{
if (in.size() == 0)
{
- out.push_back(new types::ListInsert(new types::ListUndefined()));
+ out.push_back(new types::ListInsert(new types::Void()));
}
else
{
int iIndex = 0;
for (int i = 0; i < iListSize; i++)
{
- if (pList->get(i)->isListUndefined())
+ if (pList->get(i)->isVoid())
{
switch (pIndex->getType())
{
#include "graphichandle.hxx"
#include "macro.hxx"
#include "void.hxx"
-#include "listundefined.hxx"
#include "context.hxx"
#include "handle_properties.hxx"
#include "deserializervisitor.hxx"
if (type == g_SCILAB_CLASS_UNDEFINED)
{
closeDataSet(dataset);
- return new types::ListUndefined();
+ return new types::Void();
}
if (type == g_SCILAB_CLASS_USERTYPE)