Commit 4f795b01 authored by Jonathan Beck's avatar Jonathan Beck

Pass C pointer to API instead of swig wrapper in binding.

parent fb18f4eb
...@@ -67,7 +67,9 @@ typedef struct { ...@@ -67,7 +67,9 @@ typedef struct {
} }
void add_sub_node(PListNode* subnode) { void add_sub_node(PListNode* subnode) {
plist_add_sub_node($self->node, subnode); if (subnode) {
plist_add_sub_node($self->node, subnode->node);
}
} }
void add_sub_key(char* k) { void add_sub_key(char* k) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment