From c135e76bfa1a616679254c6bcdae9560591b4598 Mon Sep 17 00:00:00 2001 From: Tony Cook Date: Mon, 29 Oct 2012 21:03:51 +1100 Subject: [PATCH] document when the slot destructor is called --- context.c | 3 +++ lib/Imager/APIRef.pod | 3 +++ 2 files changed, 6 insertions(+) diff --git a/context.c b/context.c index 8a281c9d..0598a6ab 100644 --- a/context.c +++ b/context.c @@ -195,6 +195,9 @@ im_context_clone(im_context_t ctx, const char *where) { Allocate a new context-local-storage slot. +C will be called when the context is destroyed if the +corresponding slot is non-NULL. + =cut */ diff --git a/lib/Imager/APIRef.pod b/lib/Imager/APIRef.pod index e0341e1a..74140364 100644 --- a/lib/Imager/APIRef.pod +++ b/lib/Imager/APIRef.pod @@ -2306,6 +2306,9 @@ From: File context.c Allocate a new context-local-storage slot. +C will be called when the context is destroyed if the +corresponding slot is non-NULL. + =for comment From: File context.c -- 2.39.5