poldek: poldek/capreq.h, poldek/pkg.h - arr*() hidden from SWIG
mis
mis at pld-linux.org
Fri Jun 22 00:29:54 CEST 2007
Author: mis Date: Thu Jun 21 22:29:54 2007 GMT
Module: poldek Tag: HEAD
---- Log message:
- arr*() hidden from SWIG
---- Files affected:
poldek/poldek:
capreq.h (1.29 -> 1.30) , pkg.h (1.78 -> 1.79)
---- Diffs:
================================================================
Index: poldek/poldek/capreq.h
diff -u poldek/poldek/capreq.h:1.29 poldek/poldek/capreq.h:1.30
--- poldek/poldek/capreq.h:1.29 Thu Jun 21 18:47:45 2007
+++ poldek/poldek/capreq.h Fri Jun 22 00:29:49 2007
@@ -120,6 +120,7 @@
int capreq_cmp2name(struct capreq *pr1, const char *name);
int capreq_cmp_name_evr(struct capreq *cr1, struct capreq *cr2);
+#ifndef SWIG
tn_array *capreq_arr_new(int size);
int capreq_arr_find(tn_array *capreqs, const char *name);
tn_buf *capreq_arr_join(tn_array *capreqs, tn_buf *nbuf, const char *sep);
@@ -129,6 +130,7 @@
tn_array *capreq_arr_restore(tn_alloc *na, tn_buf *nbuf);
tn_array *capreq_arr_restore_st(tn_alloc *na, tn_stream *st);
+#endif
int capreq_snprintf(char *str, size_t size, const struct capreq *cr);
char *capreq_snprintf_s(const struct capreq *cr);
================================================================
Index: poldek/poldek/pkg.h
diff -u poldek/poldek/pkg.h:1.78 poldek/poldek/pkg.h:1.79
--- poldek/poldek/pkg.h:1.78 Thu Jun 21 18:47:45 2007
+++ poldek/poldek/pkg.h Fri Jun 22 00:29:49 2007
@@ -253,6 +253,14 @@
const char *pkg_group(const struct pkg *pkg);
+
+char *pkg_strsize(char *buf, int size, const struct pkg *pkg);
+char *pkg_strbtime(char *buf, int size, const struct pkg *pkg);
+char *pkg_stritime(char *buf, int size, const struct pkg *pkg);
+/* add self name-evr to caps */
+int pkg_add_selfcap(struct pkg *pkg);
+
+#ifndef SWIG
tn_array *pkgs_array_new(int size);
tn_array *pkgs_array_new_ex(int size,
int (*cmpfn)(const struct pkg *p1,
@@ -260,11 +268,6 @@
void pkgs_array_dump(tn_array *pkgs, const char *prefix); /* for debugging */
tn_buf *pkgs_array_join(tn_array *pkgs, tn_buf *nbuf, const char *sep);
-
-char *pkg_strsize(char *buf, int size, const struct pkg *pkg);
-char *pkg_strbtime(char *buf, int size, const struct pkg *pkg);
-char *pkg_stritime(char *buf, int size, const struct pkg *pkg);
-/* add self name-evr to caps */
-int pkg_add_selfcap(struct pkg *pkg);
+#endif
#endif /* POLDEK_PKG_H */
================================================================
---- CVS-web:
http://cvs.pld-linux.org/poldek/poldek/capreq.h?r1=1.29&r2=1.30&f=u
http://cvs.pld-linux.org/poldek/poldek/pkg.h?r1=1.78&r2=1.79&f=u
More information about the pld-cvs-commit
mailing list