diff options
| author | Liam P. White <inkscapebrony@gmail.com> | 2014-08-07 00:40:19 +0000 |
|---|---|---|
| committer | Liam P. White <inkscapebrony@gmail.com> | 2014-08-07 00:40:19 +0000 |
| commit | 2029349f5291ae10048202732a89f34c0a179130 (patch) | |
| tree | a8bf0a1a0fb4fa8ef9777f34250e598a5b272fb3 /src/knot-ptr.h | |
| parent | Update to trunk r13497 (diff) | |
| download | inkscape-2029349f5291ae10048202732a89f34c0a179130.tar.gz inkscape-2029349f5291ae10048202732a89f34c0a179130.zip | |
Add in some debugging code that will complain when deleted knots are accessed by snap handler
(bzr r13341.1.120)
Diffstat (limited to 'src/knot-ptr.h')
| -rw-r--r-- | src/knot-ptr.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/knot-ptr.h b/src/knot-ptr.h new file mode 100644 index 000000000..5895dfd2e --- /dev/null +++ b/src/knot-ptr.h @@ -0,0 +1,8 @@ +#ifndef KNOT_PTR_DETECTOR +#define KNOT_PTR_DETECTOR + +void knot_deleted_callback(void* knot); +void knot_created_callback(void* knot); +void check_if_knot_deleted(void* knot); + +#endif |
