core: added scriptlet preparation support.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 7 Sep 2012 17:14:58 +0000 (20:14 +0300)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 26 Oct 2012 16:00:10 +0000 (19:00 +0300)
commitccb691416476fec5791fa840c67d4df983793c4c
treefe0d28da311c859ea6599d1910562df244942f7d
parentd6491b98ae69e425bef65c46928f6a7d2acd83f8
core: added scriptlet preparation support.

Added a prepare operation to scriptlet interpreter. If provided by an
interpreter, preparing a scriptlet should carry out any and all actions
necessary to finalize a compiled scriptlet for execution. For instance,
the simple builtin resolver scriptlet interpreter uses the preparation
phase to link function names to exported functions. The normal sequence
to run a scriptlet is now create - compile - prepare - execute.
src/core-func-info.c
src/core/scripting.c
src/core/scripting.h
src/linker-script.core