-----BEGIN PGP SIGNED MESSAGE-----

Rob Browning, in an immanent manifestation of deity, wrote:
>Swig will be going away as a "normally compiled" bit.  It'll still be
>available as an --enable-swig option, at least for the time being, and
>pretty soon, there'll be an easy way to do this with the text format.

Coolness.  I was worried it was going to go away completely.

I also wanted to get into the gnucash code and I can't do that if I
didn't have a problem to solve.

>Oh, you'd be fine.  Scheme hasn't changed much since then :> If you
>decide you'd like to try scheme, I'd be happy to help.

Except that I've changed significantly since then.  The retrieval
mechanism in the wetware isn't up to it.  :)  I'd need to re-learn
scheme while I already know Perl.  Thanks for the offer of help...

>> I do have two questions about this over and above any problems with my
>> code.
>> 1) Is there a way to get a list of all the entries in account_type_name
>>    so I don't have a static list in my file that can go out of date.
>
>No, but there probably should be.

How difficult would it be to add such a thing?  I assume that it should
probably be in src/engine/AccInfo.c with a name like
xaccGetAllAccountTypes?

>> 2) Do I need to call xaccFreeAccount?  Since I'm exiting immediately,
>>    it's not a big deal.  But I do prefer a free for every malloc.  :)
>
>If you're finished with the account, perhaps, but if you're exiting,
>it's not clear that it matters :>

It's the paranoid in me.  I figure that just because I'm about to exit
now, doesn't mean that I'll necessarily always exit when I evolve this
code later.

Darren
- -- 
<[EMAIL PROTECTED]> <http://www.daft.com/~torin> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-206-ELF-LIPZ
@ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI/Pilot programmer/tutor @
@                    Make a little hot-tub in your soul.                      @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface

iQCVAwUBOWRAO44wrq++1Ls5AQExDQP/aEIePtKbgEKCRzh2cAKyQIEPN0iRiWSV
8iKc+bHdzAjvvbMMW1mnjH1Yq3b/4BIzABqZriw/5xuSiy+FsHnmh2JPTV2sAYsB
Vl+kUbM8JiIsGf4pu2El8nJxs1GZ66F4YbtmNDWWKeRoqlODK5s4BU4sxEYcO4/8
dy5Et008nEA=
=Vpet
-----END PGP SIGNATURE-----

--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]


Reply via email to