public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Brian Dolbec" <brian.dolbec@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/layman:master commit in: src/
Date: Wed,  5 Oct 2011 20:56:53 +0000 (UTC)	[thread overview]
Message-ID: <5ee230352df6d06cdba6f48da3d83a608847785c.dol-sen@gentoo> (raw)

commit:     5ee230352df6d06cdba6f48da3d83a608847785c
Author:     Detlev Casanova <detlev.casanova <AT> gmail <DOT> com>
AuthorDate: Fri Jul 16 20:52:58 2010 +0000
Commit:     Brian Dolbec <brian.dolbec <AT> gmail <DOT> com>
CommitDate: Fri Jul 16 20:52:58 2010 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/layman.git;a=commit;h=5ee23035

Add comment to newly added functions

---
 src/laymanapi.c |   23 ++++++++++++++++++++++-
 1 files changed, 22 insertions(+), 1 deletions(-)

diff --git a/src/laymanapi.c b/src/laymanapi.c
index 9048921..8458c38 100644
--- a/src/laymanapi.c
+++ b/src/laymanapi.c
@@ -389,13 +389,19 @@ int _laymanAPIGetAllInfos(LaymanAPI* l, StringList* overlays, OverlayInfo *resul
 
 		k++;
 	}
-
+	
+	//The returned value is not necessary anymore.
 	Py_DECREF(obj);
 
 	//Return the number of structures that have been filled.
 	return k;
 }
 
+/*
+ * Adds an overlay to layman
+ *
+ * Return True if it succeeded, False if not
+ */
 int laymanAPIAddRepo(LaymanAPI* l, const char *repo)
 {
 	if (!l || !l->object || !repo)
@@ -416,6 +422,11 @@ int laymanAPIAddRepo(LaymanAPI* l, const char *repo)
 	return ret;
 }
 
+/*
+ * Adds a list of overlays to layman
+ *
+ * Return True if it succeeded, False if not
+ */
 int laymanAPIAddRepos(LaymanAPI* l, StringList *repos)
 {
 	if (!l || !l->object || !repos)
@@ -440,6 +451,11 @@ int laymanAPIAddRepos(LaymanAPI* l, StringList *repos)
 	return ret;
 }
 
+/*
+ * Deletes an overlay from layman
+ *
+ * Return True if it succeeded, False if not
+ */
 int laymanAPIDeleteRepo(LaymanAPI* l, const char *repo)
 {
 	if (!l || !l->object || !repo)
@@ -460,6 +476,11 @@ int laymanAPIDeleteRepo(LaymanAPI* l, const char *repo)
 	return ret;
 }
 
+/*
+ * Deletes a list of overlays from layman
+ *
+ * Return True if it succeeded, False if not
+ */
 int laymanAPIDeleteRepos(LaymanAPI* l, StringList *repos)
 {
 	if (!l || !l->object || !repos)



             reply	other threads:[~2011-10-05 20:58 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-05 20:56 Brian Dolbec [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-05 20:56 [gentoo-commits] proj/layman:master commit in: src/ Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec
2011-10-05 20:56 Brian Dolbec

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5ee230352df6d06cdba6f48da3d83a608847785c.dol-sen@gentoo \
    --to=brian.dolbec@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox