I want to print the result of an eval to a C string buffer:

void eval_command (char *command_string)
{
        char buffer[128];
        cl_object form, result;

        form = c_string_to_object(command_string);

        result = cl_safe_eval(form, Cnil, Cnil);

        /*
            Instead of using  princ(1,result) to stdout, I want a 
princ() into buffer[].
        */
}


Al


------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnnow-d2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to