Nothing is unsafe.
If you try to call a function exported by another module with Perl, Perl module refuses. The "free_fixup_function" mechanism is not implemented in the Perl module. But, this sentence suggests the contrary: => new free fixup functions - making safer to use some functions exported by modules in embedded languages such as Perl
For the same reason, the Perl module documentation is not up to date. In the documentation, you can read this kind of example :
$m->moduleFunction("sl_send_reply", "500", "Internal Error"); $m->moduleFunction("xlog", "L_INFO", "foo");
But with the 1.4 release, it doesn't work.
On Fri, Aug 8, 2008 at 1:41 AM, Alex Balashov abalashov@evaristesys.comwrote:
Makes me wonder what is inherently "unsafe" about it as well.
Julien mangeard wrote:
In the 1.4 release notes, I have read that:
=> new free fixup functions - making safer to use some
functions exported by modules in embedded languages such as Perl
I don't find any reference to "free_fixup_function" in the Perl module source code.
Are you sure that this feature works for Perl module?
Someone work on it?
Best Regards,
-- Julien Mangeard
Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
-- Alex Balashov Evariste Systems Web : http://www.evaristesys.com/ Tel : (+1) (678) 954-0670 Direct : (+1) (678) 954-0671 Mobile : (+1) (706) 338-8599