* print.c change cause problem for xwidgets
@ 2015-04-21 19:49 joakim
2015-04-21 23:12 ` Paul Eggert
0 siblings, 1 reply; 2+ messages in thread
From: joakim @ 2015-04-21 19:49 UTC (permalink / raw
To: Emacs developers
There was some kind of change to print.c. My previous code didnt compile
after merge. I tried to fix it like below, but now it segfaults.
How is it supposed to work?
line 1727 in print.c:
#ifdef HAVE_XWIDGETS_DISABLED_ATM
//there was a segfault here after recent upstream changes
else if (XWIDGETP (obj))
{
strout ("#<xwidget ", -1, -1, printcharfun);
printchar ('>', printcharfun);
}
else if (XWIDGET_VIEW_P (obj))
{
strout ("#<xwidget-view ", -1, -1, printcharfun);
printchar ('>', printcharfun);
}
#endif
--
Joakim Verona
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: print.c change cause problem for xwidgets
2015-04-21 19:49 print.c change cause problem for xwidgets joakim
@ 2015-04-21 23:12 ` Paul Eggert
0 siblings, 0 replies; 2+ messages in thread
From: Paul Eggert @ 2015-04-21 23:12 UTC (permalink / raw
To: joakim, Emacs developers
On 04/21/2015 12:49 PM, joakim@verona.se wrote:
> strout ("#<xwidget ", -1, -1, printcharfun);
Please try 'print_c_string ("#<xwidget ", printcharfun);'.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-04-21 23:12 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-04-21 19:49 print.c change cause problem for xwidgets joakim
2015-04-21 23:12 ` Paul Eggert
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.