author | Sebastian Harl <sh@tokkee.org> | |
Tue, 13 Nov 2007 22:58:54 +0000 (23:58 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Wed, 14 Nov 2007 10:37:22 +0000 (11:37 +0100) | ||
commit | 8897ce7778f1567e147aaa4bba3645abc47bba27 | |
tree | 82d441221137f77155db681e9eaec2feb39e5f2d | tree | snapshot |
parent | 28785769ea6ba70f935df534f06a2cb358f03947 | commit | diff |
perl plugin: Use PERL_NO_GET_CONTEXT.
All Perl_* API functions have been replaced with their unprefixed
counterparts. The currently used Perl interpreter is passed along to each
function requiring access to it. This removes the need to access the global
variable keeping the pointer to the Perl interpreter in most cases but the
entry points into the plugin (i.e. the callbacks registered with collectd).
This prepares the plugin to efficiently support multiple interpreters.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
All Perl_* API functions have been replaced with their unprefixed
counterparts. The currently used Perl interpreter is passed along to each
function requiring access to it. This removes the need to access the global
variable keeping the pointer to the Perl interpreter in most cases but the
entry points into the plugin (i.e. the callbacks registered with collectd).
This prepares the plugin to efficiently support multiple interpreters.
Signed-off-by: Sebastian Harl <sh@tokkee.org>
src/perl.c | diff | blob | history |