Improving internal report identifiers

Andrew Sackville-West andrew at swclan.homelinux.org
Tue Jan 1 20:29:24 EST 2008


On Tue, Jan 01, 2008 at 05:19:55PM -0500, Derek Atkins wrote:
> 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.

perfect. thanks

A
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20080101/c5b1ba76/attachment.bin 


More information about the gnucash-devel mailing list