r21128 - gnucash/trunk/src/engine - Minor documentation clarifications.

Christian Stimming cstim at code.gnucash.org
Mon Aug 8 03:00:05 EDT 2011


Author: cstim
Date: 2011-08-08 03:00:05 -0400 (Mon, 08 Aug 2011)
New Revision: 21128
Trac: http://svn.gnucash.org/trac/changeset/21128

Modified:
   gnucash/trunk/src/engine/Account.h
Log:
Minor documentation clarifications.

Modified: gnucash/trunk/src/engine/Account.h
===================================================================
--- gnucash/trunk/src/engine/Account.h	2011-08-08 06:59:54 UTC (rev 21127)
+++ gnucash/trunk/src/engine/Account.h	2011-08-08 07:00:05 UTC (rev 21128)
@@ -77,6 +77,10 @@
      (G_TYPE_CHECK_CLASS_TYPE ((k), GNC_TYPE_ACCOUNT))
 #define GNC_ACCOUNT_GET_CLASS(o)    \
      (G_TYPE_INSTANCE_GET_CLASS ((o), GNC_TYPE_ACCOUNT, AccountClass))
+/** Returns the GType type system description of the Account class.
+ *
+ * This must not be confused with the \ref GNCAccountType as returned
+ * by xaccAccountGetType(). */
 GType gnc_account_get_type(void);
 
 /** The account types are used to determine how the transaction data
@@ -299,9 +303,13 @@
 void xaccAccountSetLastNum (Account *account, const char *num);
 /** Set the account's lot order policy */
 void gnc_account_set_policy (Account *account, GNCPolicy *policy);
-/** Get the account's type */
+/** Returns the account's account type. 
+ *
+ * This must not be confused with the \ref GType as returned by
+ * gnc_account_get_type(), which is related to glib's type system. */
 GNCAccountType xaccAccountGetType (const Account *account);
-/** Is the account a stock, mutual fund or currency? */
+/** Returns true if the account is a stock, mutual fund or currency,
+ * otherwise false. */
 gboolean xaccAccountIsPriced(const Account *acc);
 
 /** This function will set the starting commodity balance for this



More information about the gnucash-changes mailing list