1 /*
2  * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3  * Copyright (C) 2004-2006 - INRIA - Fabrice Leray
4  * Copyright (C) 2006 - INRIA - Allan Cornet
5  * Copyright (C) 2006 - INRIA - Jean-Baptiste Silvy
6  *
7  * Copyright (C) 2012 - 2016 - Scilab Enterprises
8  *
9  * This file is hereby licensed under the terms of the GNU GPL v2.0,
10  * pursuant to article 5.3.4 of the CeCILL v.2.1.
11  * This file was originally licensed under the terms of the CeCILL v2.1,
12  * and continues to be available under such terms.
13  * For more information, see the COPYING file which you should have received
14  * along with this program.
15  *
16  */
17 
18 /*------------------------------------------------------------------------*/
19 /* file: set_children_property.c                                          */
20 /* desc : function to modify in Scilab the children field of              */
21 /*        a handle                                                        */
22 /*------------------------------------------------------------------------*/
23 
24 #include "setHandleProperty.h"
25 #include "Scierror.h"
26 #include "localization.h"
27 #include "SetPropertyStatus.h"
28 
29 /*------------------------------------------------------------------------*/
set_children_property(void * _pvCtx,int iObjUID,void * _pvData,int valueType,int nbRow,int nbCol)30 int set_children_property(void* _pvCtx, int iObjUID, void* _pvData, int valueType, int nbRow, int nbCol)
31 {
32     Scierror(999, _("Children property can not be modified directly.\n"));
33     return SET_PROPERTY_ERROR;
34 }
35 /*------------------------------------------------------------------------*/
36