Don't g-wrap engine private functions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5755 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/g2-gog-integ
Dave Peticolas 25 years ago
parent e4f9271735
commit 4b2d9dd401

@ -238,16 +238,6 @@ xaccGUIDNew (GUID *guid, GNCSession *session)
xaccGUIDNewEntityTable (guid, gnc_session_get_entity_table (session));
}
GUID
xaccGUIDNewReturn (GNCSession *session)
{
GUID guid;
xaccGUIDNew (&guid, session);
return guid;
}
const GUID *
xaccGUIDNULL(void)
{

@ -44,7 +44,6 @@ void xaccEntityTableDestroy (GNCEntityTable *table);
* use this function and not guid_new! */
void xaccGUIDNew (GUID *guid, GNCSession *session);
void xaccGUIDNewEntityTable (GUID *guid, GNCEntityTable *entity_table);
GUID xaccGUIDNewReturn (GNCSession *session);
/* Lookup an entity given an id and a type. If there is no entity
* associated with the id, or if it has a different type, NULL

@ -411,6 +411,16 @@ guid_new(GUID *guid)
counter--;
}
GUID
guid_new_return(void)
{
GUID guid;
guid_new (&guid);
return guid;
}
/* needs 32 bytes exactly, doesn't print a null char */
static void
encode_md5_data(const unsigned char *data, char *buffer)

@ -71,6 +71,7 @@ void guid_init_only_salt(const void *salt, size_t salt_len);
/* Generate a new id. If no initialization function has been called,
* guid_init() will be called before the id is created. */
void guid_new(GUID *guid);
GUID guid_new_return(void);
/* The guid_to_string() routine returns a null-terminated string

@ -310,7 +310,7 @@
(lambda (client-only?)
(list
"#include <glib.h>\n"
"#include <GNCIdP.h>\n"
"#include <guid.h>\n"
"#include <Query.h>\n"
"#include <Backend.h>\n"
"#include <gnc-session.h>\n"
@ -518,8 +518,8 @@
mod
'gnc:guid-new
'<gnc:guid-scm>
"xaccGUIDNewReturn"
'((<gnc:Session*> session))
"guid_new_return"
'()
"Return a newly-generated GUID.")
(gw:wrap-function

Loading…
Cancel
Save