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 31a1639 commit c24d866Copy full SHA for c24d866
ynl-gen-cpp.py
@@ -2233,6 +2233,8 @@ def policy_should_be_static(family):
2233
2234
2235
def _render_user_ntf_entry(ri, op):
2236
+ if ri.family.is_classic():
2237
+ op = ri.family.req_by_value[op.rsp_value]
2238
ri.cw.p(f"arr[{op.enum_name}].policy\t\t= &{ri.struct['reply'].render_name}_nest;")
2239
ri.cw.p(f"arr[{op.enum_name}].cb\t\t= {op_prefix(ri, 'reply', deref=True)}_parse;")
2240
# ri.cw.p(f"arr[{op.enum_name}].alloc_sz\t= sizeof({type_name(ri, 'event')});")
0 commit comments