We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b66c8b commit 1e585eaCopy full SHA for 1e585ea
1 file changed
generate/templates/templates/struct_content.cc
@@ -52,7 +52,9 @@ using namespace std;
52
{% if not field.ignore %}
53
{% if not field.isEnum %}
54
{% if field.isCallbackFunction %}
55
+ if (this->{{ field.name }}.HasCallback()) {
56
this->raw->{{ fields|payloadFor field.name }} = NULL;
57
+ }
58
{% endif %}
59
60
0 commit comments