diff options
author | Mohsin Kazmi <sykazmi@cisco.com> | 2018-08-27 13:17:09 +0200 |
---|---|---|
committer | Mohsin Kazmi <sykazmi@cisco.com> | 2018-08-27 16:28:04 +0200 |
commit | b3abec7c1f936ee4950d14cc8a9c34c729551f9f (patch) | |
tree | 69963fbbad50cf4a06fa1943b2f6f8e4c9dd1207 /src/vpp-api/vapi/vapi_cpp_gen.py | |
parent | 2ba9dcf408d5f861738356dfb43c28a803fcd7fc (diff) |
cmake: Fix VAPI .hpp generation
Change-Id: I2bec3b2511f00d017f9b3a727809631695222c1a
Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vpp-api/vapi/vapi_cpp_gen.py')
-rwxr-xr-x | src/vpp-api/vapi/vapi_cpp_gen.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vpp-api/vapi/vapi_cpp_gen.py b/src/vpp-api/vapi/vapi_cpp_gen.py index adf85c753d8..326026837fd 100755 --- a/src/vpp-api/vapi/vapi_cpp_gen.py +++ b/src/vpp-api/vapi/vapi_cpp_gen.py @@ -136,7 +136,7 @@ def gen_json_header(parser, logger, j, io, gen_h_prefix, add_debug_comments): print("#define %s" % include_guard) print("") print("#include <vapi/vapi.hpp>") - print("#include <%s%s>" % (gen_h_prefix, json_to_c_header_name(j))) + print("#include <%s%s>" % (gen_h_prefix, json_to_c_header_name(f))) print("") print("namespace vapi {") print("") |