summaryrefslogtreecommitdiff
path: root/plugins/pychrysalide
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2019-06-16 20:20:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2019-11-01 10:16:01 (GMT)
commit33b5dc9af0404eabeb0e60245ab1ca1dc3713a17 (patch)
treefda7b9996c7e90b96507988d54cc73161b309621 /plugins/pychrysalide
parenta8598ae89acd2963143b7a6b248fbecbc0e16025 (diff)
Added support for Yaml content.
Diffstat (limited to 'plugins/pychrysalide')
-rw-r--r--plugins/pychrysalide/helpers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/pychrysalide/helpers.h b/plugins/pychrysalide/helpers.h
index 8c7db0b..3bb457d 100644
--- a/plugins/pychrysalide/helpers.h
+++ b/plugins/pychrysalide/helpers.h
@@ -97,6 +97,9 @@ bool register_python_module_object(PyObject *, PyTypeObject *);
closure \
}
+#define PYTHON_IS_DEF_FULL(name, base, doc) \
+ PYTHON_GETSET_DEF("is_" #name, base ## _is_ ## name, NULL, doc, NULL)
+
#define PYTHON_GET_DEF_FULL(name, base, doc) \
PYTHON_GETSET_DEF(#name, base ## _get_ ## name, NULL, doc, NULL)