2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2011 - DIGITEO - Vincent COUVERT
5 * Copyright (C) 2012 - 2016 - Scilab Enterprises
7 * This file is hereby licensed under the terms of the GNU GPL v2.0,
8 * pursuant to article 5.3.4 of the CeCILL v.2.1.
9 * This file was originally licensed under the terms of the CeCILL v2.1,
10 * and continues to be available under such terms.
11 * For more information, see the COPYING file which you should have received
12 * along with this program.
16 /*------------------------------------------------------------------------*/
17 /* file: get_tag_property.c */
18 /* desc : function to retrieve in Scilab the tag field of */
20 /*------------------------------------------------------------------------*/
22 #include "sci_types.h"
23 #include "getHandleProperty.h"
24 #include "returnProperty.h"
26 #include "localization.h"
28 #include "getGraphicObjectProperty.h"
29 #include "graphicObjectProperties.h"
31 /*------------------------------------------------------------------------*/
32 void* get_tag_property(void* _pvCtx, int iObjUID)
37 getGraphicObjectProperty(iObjUID, __GO_TAG__, jni_string, (void**) &tag);
41 Scierror(999, _("'%s' property does not exist for this handle.\n"), "Tag");
46 status = sciReturnString(tag);
51 /*------------------------------------------------------------------------*/