Improving internal report identifiers

Derek Atkins warlord at MIT.EDU
Tue Jan 1 17:19:55 EST 2008


Quoting Andrew Sackville-West <andrew at swclan.homelinux.org>:

>> I'm pretty sure Hampton wrote code to create an ID on the fly for custom
>> check formats. I would imagine it could be reused pretty easily.
>
> the engine generates (from somewhere -- handwave) GUID's all the time,
> there must be a way to just grab one. The actual content of the
> internal ID of a report is completely meaningless, so long as it's
> unique, so I would think a GUID would be perfect.

guid_new() from C.  And guid_new_return (or guid-new-return) from Scheme.

> A

-derek

-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       warlord at MIT.EDU                        PGP key available



More information about the gnucash-devel mailing list