mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
#499788: Swig-wrap guid_new_return and use it for gnucash-make-guids.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16603 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
da9e731b7a
commit
a68151082d
@ -27,7 +27,7 @@ exec gnucash-env guile -s "$0" "$@"
|
|||||||
(gnc:module-load "gnucash/engine" 0)
|
(gnc:module-load "gnucash/engine" 0)
|
||||||
|
|
||||||
(let loop ((remaining num-to-make))
|
(let loop ((remaining num-to-make))
|
||||||
(display (gnc:guid-new)) (newline)
|
(display (guid-new-return)) (newline)
|
||||||
(if (> remaining 1)
|
(if (> remaining 1)
|
||||||
(loop (- remaining 1))))
|
(loop (- remaining 1))))
|
||||||
|
|
||||||
|
@ -108,6 +108,8 @@ const char *qof_session_get_url (QofSession *session);
|
|||||||
|
|
||||||
const char *gnc_print_date (Timespec ts);
|
const char *gnc_print_date (Timespec ts);
|
||||||
|
|
||||||
|
GUID guid_new_return(void);
|
||||||
|
|
||||||
%inline {
|
%inline {
|
||||||
static QofQuery * qof_query_create_for_splits(void) {
|
static QofQuery * qof_query_create_for_splits(void) {
|
||||||
return qof_query_create_for(GNC_ID_SPLIT);
|
return qof_query_create_for(GNC_ID_SPLIT);
|
||||||
|
Loading…
Reference in New Issue
Block a user