add a %foo_clear overloading on mlist 79/20679/14
authorClément DAVID <clement.david@esi-group.com>
Wed, 9 Jan 2019 10:16:32 +0000 (11:16 +0100)
committerCedric Delamarre <cdl@esi-group.com>
Wed, 11 Dec 2019 17:13:21 +0000 (18:13 +0100)
commit6ee5c6ff781163f2a0b1010c3b69b2ca171fc76e
tree51900dacfd54a98759a4ad3755e93aaf0ddd3426
parent05897751182e62525086929cb679e4af6bb6f336
add a %foo_clear overloading on mlist

This overload will be called at the end of the scope when a variable
will not be accessible anymore for clearing allocated data.

Implementations for External Object and External Object Java are also
provided to avoid being forced to call `jremove`.

Change-Id: I13076e936f9d35a559e12a8668aaaaa6f7a6a8ab
27 files changed:
SEP/INDEX
SEP/SEP_134_add_a_%foo_delete_overloading.txt [new file with mode: 0644]
scilab/CHANGES.md
scilab/modules/ast/includes/types/mlist.hxx
scilab/modules/ast/includes/types/tlist.hxx
scilab/modules/ast/src/cpp/ast/run_AssignExp.hpp
scilab/modules/ast/src/cpp/types/mlist.cpp
scilab/modules/ast/src/cpp/types/tlist.cpp
scilab/modules/core/help/en_US/variables/clear.xml
scilab/modules/core/help/fr_FR/variables/clear.xml
scilab/modules/core/help/ja_JP/variables/clear.xml
scilab/modules/core/help/pt_BR/variables/clear.xml
scilab/modules/core/help/ru_RU/variables/clear.xml
scilab/modules/external_objects/Makefile.am
scilab/modules/external_objects/Makefile.in
scilab/modules/external_objects/external_objects.vcxproj
scilab/modules/external_objects/external_objects.vcxproj.filters
scilab/modules/external_objects/includes/ScilabGateway.hxx
scilab/modules/external_objects/includes/gw_external_objects.h
scilab/modules/external_objects/sci_gateway/cpp/sci_percent_EObj_clear.cpp [new file with mode: 0644]
scilab/modules/external_objects/sci_gateway/external_objects_gateway.xml
scilab/modules/external_objects/src/cpp/clear.cpp [new file with mode: 0644]
scilab/modules/external_objects_java/help/en_US/jremove.xml
scilab/modules/external_objects_java/help/ja_JP/jremove.xml
scilab/modules/external_objects_java/tests/unit_tests/clear.tst [new file with mode: 0644]
scilab/modules/external_objects_java/tests/unit_tests/jremove.tst [new file with mode: 0644]
scilab/modules/overloading/tests/unit_tests/clear.tst [new file with mode: 0644]