Skip to content
Snippets Groups Projects
Unverified Commit 86cf730d authored by Russell Jancewicz's avatar Russell Jancewicz Committed by GitHub
Browse files

Merge pull request #70 from oliviermartin/fix-build

src: Fix build - Build issues raised when installing the python package.
parents 94e50ed0 6337a692
Branches
Tags
No related merge requests found
......@@ -21,7 +21,7 @@ typedef struct {
} PyKAdminIterator;
PyTypeObject PyKAdminIterator_Type;
extern PyTypeObject PyKAdminIterator_Type;
PyKAdminIterator *PyKAdminIterator_principal_iterator(PyKAdminObject *kadmin, char *match);
PyKAdminIterator *PyKAdminIterator_policy_iterator(PyKAdminObject *kadmin, char *match);
......
......@@ -31,9 +31,9 @@ typedef struct {
} PyKAdminObject;
PyTypeObject PyKAdminObject_Type;
extern PyTypeObject PyKAdminObject_Type;
PyKAdminObject *PyKAdminObject_create(void);
void PyKAdminObject_destroy(PyKAdminObject *self);
#endif
\ No newline at end of file
#endif
......@@ -20,7 +20,7 @@ typedef struct {
kadm5_policy_ent_rec entry;
} PyKAdminPolicyObject;
PyTypeObject PyKAdminPolicyObject_Type;
extern PyTypeObject PyKAdminPolicyObject_Type;
//#define PyKAdminPolicy_Check(policy) PyObject_TypeCheck(policy, &PyKAdminPolicyObject_Type)
#define PyKAdminPolicyObject_CheckExact(obj) (Py_TYPE(obj) == &PyKAdminPolicyObject_Type)
......
......@@ -21,7 +21,7 @@ typedef struct {
} PyKAdminPrincipalObject;
PyTypeObject PyKAdminPrincipalObject_Type;
extern PyTypeObject PyKAdminPrincipalObject_Type;
//#define PyKAdminPrincipalObject_Check(principal) PyObject_TypeCheck(principal, &PyKAdminPrincipalObject_Type)
#define PyKAdminPrincipalObject_CheckExact(obj) (Py_TYPE(obj) == &PyKAdminPrincipalObject_Type)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment