[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Lisp_Object to char*
From: |
Eli Zaretskii |
Subject: |
Re: Lisp_Object to char* |
Date: |
14 Dec 2003 07:54:11 +0200 |
> From: mr mike <address@hidden>
> Date: Sat, 13 Dec 2003 14:25:48 -0500
>
> In the C code, how do you convert a Lisp_Object to a char* value?
>
> I'm asking because I'm playing around with making a gtk widget
> from the gtk emacs port, and I am going to pass a argument
> to make-frame like this
>
> (make-frame '((foo . "abc")))
>
> and I need to know what the value that goes with foo.
>
> I can get the argument with x_get_arg(). I just need the value.
Is the XCDR macro what you want?