summaryrefslogtreecommitdiff
path: root/dist/threads
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2010-02-23 14:48:17 +0000
committerNicholas Clark <nick@ccl4.org>2010-05-24 13:48:46 +0100
commita09252eb79f700c93c37322c1ad831cf3193571b (patch)
tree72d71fd1a06a6f17d38ff5a13129dda2ee6e57c3 /dist/threads
parent842c41230043ce99d4bf7b2c79aed85ce2908e89 (diff)
downloadperl-a09252eb79f700c93c37322c1ad831cf3193571b.tar.gz
Convert Perl_sv_dup_inc() from a macro to a real function.
Diffstat (limited to 'dist/threads')
-rwxr-xr-xdist/threads/threads.xs2
1 files changed, 1 insertions, 1 deletions
diff --git a/dist/threads/threads.xs b/dist/threads/threads.xs
index a5595959e4..c97b6ab735 100755
--- a/dist/threads/threads.xs
+++ b/dist/threads/threads.xs
@@ -792,7 +792,7 @@ S_ithread_create(
sv_copypv(thread->init_function, init_function);
} else {
thread->init_function =
- SvREFCNT_inc(sv_dup(init_function, &clone_param));
+ sv_dup_inc(init_function, &clone_param);
}
thread->params = params = newAV();