On Fri, Aug 8, 2008 at 1:03 PM, Peter TB Brett <[EMAIL PROTECTED]> wrote:
> How about this: in C, assemble a SCM structure which looks like:
>
> (invoke-macro "user string")
>
> Then just call that via g_scm_eval_protected()? That way you can just use
> eval-string in invoke-macro, and any user who hacks it around doesn't need
> to know that their code needs to be wrapped in one of our special
> protection functions -- and you won't have to do -any- error checking in
> x_window_invoke_macro() because errors will automagically get logged for
> you.

I like that.  Thanks for the idea!


_______________________________________________
geda-dev mailing list
[email protected]
http://www.seul.org/cgi-bin/mailman/listinfo/geda-dev

Reply via email to