From af27c1fceec1de4c2f25dbc4f822f4a71fdf8c42 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Sun, 24 Aug 2003 00:33:52 +0000 Subject: [PATCH] update documentation git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9149 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/Account.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/engine/Account.h b/src/engine/Account.h index 6726331794..632e2af1c0 100644 --- a/src/engine/Account.h +++ b/src/engine/Account.h @@ -534,7 +534,12 @@ void xaccAccountInsertLot (Account *, GNCLot *); void xaccAccountRemoveLot (Account *, GNCLot *); /** The xaccAccountGetLotList() routine returns a pointer to the GList of - * the lots in this account. The same warnings as above apply. */ + * the lots in this account. + * @note This GList is the account's internal + * data structure: do not delete it when done; treat it as a read-only + * structure. Note that some routines (such as xaccAccountRemoveLot()) + * modify this list directly, and could leave you with a corrupted + * pointer. */ LotList* xaccAccountGetLotList (Account *account); /** The xaccAccountForEachLot() method will apply the function 'proc'