emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Some Emacs outside Emacs


From: Manuel Giraud
Subject: Some Emacs outside Emacs
Date: Thu, 28 Jul 2022 08:33:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix)

Hi,

I'm trying to access some Emacs functions from lwlib.  So far, I'm able
to get the frame for a given menu but whenever I try to access into that
frame I get the following error from the compiler:

--8<---------------cut here---------------start------------->8---
xlwmenu.c:1175:11: error: incomplete definition of type 'struct Lisp_X'
            fs = FRAME_XIC_FONTSET (frame);
                 ^~~~~~~~~~~~~~~~~~~~~~~~~
../src/xterm.h:1225:34: note: expanded from macro 'FRAME_XIC_FONTSET'
#define FRAME_XIC_FONTSET(f) ((f)->output_data.x->xic_xfs)
                              ~~~^
./../src/lisp.h:300:16: note: forward declaration of 'struct Lisp_X'
typedef struct Lisp_X *Lisp_Word;
               ^
--8<---------------cut here---------------end--------------->8---

AFAIU, "struct Lisp_X" is a non existent struct and we are just interest
in the pointer.  Is it a matter of a compiler option? Something else?

Best regards,
-- 
Manuel Giraud



reply via email to

[Prev in Thread] Current Thread [Next in Thread]