mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Update with exhortation to use glib.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2727 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
4
HACKING
4
HACKING
@@ -41,6 +41,10 @@ C:
|
||||
using g_malloc(), g_new(), g_free(), etc., instead of malloc(),
|
||||
free(), etc. Do not mix glib memory calls with libc calls!
|
||||
|
||||
* Where possible, use glib data abstractions instead of rolling your
|
||||
own. Glib linked lists and pointer arrays are very convenient and
|
||||
have been extensively used and tested.
|
||||
|
||||
* All gnucash functions and global variables are prefixed with gnc_
|
||||
|
||||
* All private functions are enclosed in __ (i.e. _gnc_do_not_call_)
|
||||
|
Reference in New Issue
Block a user