On Fri, Mar 22, 2013 at 9:04 PM, David Korn <[email protected]> wrote: > cc: [email protected] > Subject: Re: Re: [ast-developers] Create _Bool variable from C code? > -------- > > The function you need to call is > nv_settype() > > It needs the node corresponding to the variable name which it can get > with nv_open() and the type > which it can get by looking up "_Bool" in the builtin table, sh.bltin_tree.
OK, I will try that. How can I figure out if the type is of type _Bool when I have the pointer returned by nv_type(np)? Simon _______________________________________________ ast-developers mailing list [email protected] http://lists.research.att.com/mailman/listinfo/ast-developers
