Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
L
libplist
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
pwn
libplist
Commits
1f14105b
Commit
1f14105b
authored
Mar 19, 2013
by
Nikias Bassen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swig: added PLIST_UID support
parent
553c3849
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
plist.i
swig/plist.i
+7
-0
No files found.
swig/plist.i
View file @
1f14105b
...
@@ -94,6 +94,9 @@ static swig_type_info *Node_dynamic(void **ptr)
...
@@ -94,6 +94,9 @@ static swig_type_info *Node_dynamic(void **ptr)
case PLIST_KEY:
case PLIST_KEY:
*ptr = dynamic_cast<PList::Key *>(node);
*ptr = dynamic_cast<PList::Key *>(node);
return SWIGTYPE_p_PList__Key;
return SWIGTYPE_p_PList__Key;
case PLIST_UID:
*ptr = dynamic_cast<PList::Uid *>(node);
return SWIGTYPE_p_PList__Uid;
case PLIST_STRING:
case PLIST_STRING:
*ptr = dynamic_cast<PList::String *>(node);
*ptr = dynamic_cast<PList::String *>(node);
return SWIGTYPE_p_PList__String;
return SWIGTYPE_p_PList__String;
...
@@ -144,6 +147,8 @@ namespace std {
...
@@ -144,6 +147,8 @@ namespace std {
%ignore Boolean(plist_t);
%ignore Boolean(plist_t);
%ignore Integer(plist_t);
%ignore Integer(plist_t);
%ignore Real(plist_t);
%ignore Real(plist_t);
%ignore Key(plist_t);
%ignore Uid(plist_t);
%ignore String(plist_t);
%ignore String(plist_t);
%ignore Data(plist_t);
%ignore Data(plist_t);
%ignore Date(plist_t);
%ignore Date(plist_t);
...
@@ -158,6 +163,7 @@ namespace std {
...
@@ -158,6 +163,7 @@ namespace std {
%include <plist/Integer.h>
%include <plist/Integer.h>
%include <plist/Real.h>
%include <plist/Real.h>
%include <plist/Key.h>
%include <plist/Key.h>
%include <plist/Uid.h>
%include <plist/String.h>
%include <plist/String.h>
%include <plist/Data.h>
%include <plist/Data.h>
%include <plist/Date.h>
%include <plist/Date.h>
...
@@ -175,6 +181,7 @@ typedef enum {
...
@@ -175,6 +181,7 @@ typedef enum {
PLIST_DATE,
PLIST_DATE,
PLIST_DATA,
PLIST_DATA,
PLIST_KEY,
PLIST_KEY,
PLIST_UID,
PLIST_NONE
PLIST_NONE
} plist_type;
} plist_type;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment