You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ynl-gen-cpp: generate code for notification handling
The code generator was not generating code to initialize
ynl_ntf_info::alloc_sz() and ynl_ntf_info::free().
For type casting in and out of ynl_ntf_base_type, I had the code
generator create structs in a similar way to the ynl-c repo. The code
generator was already doing this but leaving them empty.
In the free function, the C++ needs to be manually called before
freeing the memory that was allocated with calloc()
Signed-off-by: Daniel Zahka <daniel.zahka@gmail.com>
0 commit comments