summaryrefslogtreecommitdiff
path: root/src/Makefile_Eolian_Js.am
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-03-16 19:46:22 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-03-18 17:47:09 -0300
commitafb66463937a8d08e2bf1d538641a9520ba457d6 (patch)
tree10a0a55ee9301ef195434a4411b7b0af02793365 /src/Makefile_Eolian_Js.am
parenta6025b5d27f98b8595a1eb33f8f24fe998af8b90 (diff)
efl js: Add clean up callbacks to deallocate memory used in v8::External
Add several garbage collector callbacks for cleaning allocated C and C++ data used inside v8:External objects. Fix eo_unref of already freed object in eo_js_construct_from_eo.hh. Ensure all structs are allocated with malloc. Add test for garbage collection. Had to created .sh script because shebang clause do not support multiple arguments.
Diffstat (limited to 'src/Makefile_Eolian_Js.am')
-rw-r--r--src/Makefile_Eolian_Js.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Makefile_Eolian_Js.am b/src/Makefile_Eolian_Js.am
index 32cf893bf6..b15fa877c6 100644
--- a/src/Makefile_Eolian_Js.am
+++ b/src/Makefile_Eolian_Js.am
@@ -25,11 +25,11 @@ include Makefile_Eolian_Js_Helper.am
25if EFL_ENABLE_TESTS 25if EFL_ENABLE_TESTS
26if HAVE_NODEJS 26if HAVE_NODEJS
27 27
28TESTS += tests/eolian_js/eolian_js_suite.js 28TESTS += tests/eolian_js/eolian_js_suite.sh
29 29
30check_LTLIBRARIES += tests/eolian_js/libeolian_js_suite.la 30check_LTLIBRARIES += tests/eolian_js/libeolian_js_suite.la
31 31
32tests/eolian_js/eolian_js_suite.js: tests/eolian_js/eolian_js_suite_mod.node 32tests/eolian_js/eolian_js_suite.sh: tests/eolian_js/eolian_js_suite_mod.node
33tests/eolian_js/eolian_js_suite_mod.node: tests/eolian_js/libeolian_js_suite.la 33tests/eolian_js/eolian_js_suite_mod.node: tests/eolian_js/libeolian_js_suite.la
34 $(AM_V_CP)$(CP) $(top_builddir)/src/tests/eolian_js/.libs/libeolian_js_suite.so $(top_builddir)/src/tests/eolian_js/eolian_js_suite_mod.node 34 $(AM_V_CP)$(CP) $(top_builddir)/src/tests/eolian_js/.libs/libeolian_js_suite.so $(top_builddir)/src/tests/eolian_js/eolian_js_suite_mod.node
35 35