Generally speaking, it goes something like:

struct bu_vls tmpstr;

bu_vls_init(&tmpstr);

stuff... (bu_vls_sprintf, bu_vls_printf, etc - see bu.h)

bu_vls_free(&tmpstr); /*done with string*/

I don't know how good it is, but there's a lot of bu_vls examples in
tire.c in libged...

Cheers,
CY

On Mon, Jan 17, 2011 at 5:52 PM, Tom Browder <[email protected]> wrote:
> I there a tutorial or good example of using bu_vls for temporary
> strings?  Or is okay if I roll my own string?
>
> Thanks,
>
> -Tom
>
> Thomas M. Browder, Jr.
> Niceville, Florida
> USA

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to