Skip to content

Commit

Permalink
Allow apteryx-xml.h to be included in C++ source
Browse files Browse the repository at this point in the history
It would appear that the namespace keyword cannot be used as a variable
in a function prototype if the header file is included in a C++ file.
  • Loading branch information
tony-vanderpeet committed Nov 20, 2024
1 parent b107386 commit 55d1dac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apteryx-xml.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ GList *sch_get_loaded_models (sch_instance * instance);
sch_node *sch_child_first (sch_instance *instance);
sch_node *sch_node_parent (sch_node *node);
sch_node *sch_node_child (sch_node *parent, const char *name);
sch_node *sch_node_namespace_child (sch_node * parent, const char *namespace, const char *child);
sch_node *sch_node_by_namespace (sch_instance * instance, const char *namespace,
sch_node *sch_node_namespace_child (sch_node * parent, const char *ns, const char *child);
sch_node *sch_node_by_namespace (sch_instance * instance, const char *ns,
const char *prefix);
sch_node *sch_node_child_first (sch_node * parent);
sch_node *sch_node_next_sibling (sch_node * node);
Expand Down

0 comments on commit 55d1dac

Please sign in to comment.