mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 21:21:32 +00:00
Compilation fix: give C_read_callback extern "C" linkage.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4636 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
2fd0569093
commit
c5e3aebca3
@ -1,3 +1,7 @@
|
|||||||
|
2002-07-14 Angus Leeming <leeming@lyx.org>
|
||||||
|
|
||||||
|
* lyx_gui.C (C_read_callback): give it extern "C" linkage.
|
||||||
|
|
||||||
2002-07-14 John Levon <moz@compsoc.man.ac.uk>
|
2002-07-14 John Levon <moz@compsoc.man.ac.uk>
|
||||||
|
|
||||||
* lyx_gui.C: add set_read_callback()
|
* lyx_gui.C: add set_read_callback()
|
||||||
|
@ -354,11 +354,14 @@ bool lyx_gui::font_available(LyXFont const & font)
|
|||||||
}
|
}
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
void C_read_callback(int, void * data)
|
|
||||||
{
|
extern "C"
|
||||||
LyXComm * comm = static_cast<LyXComm *>(data);
|
void C_read_callback(int, void * data)
|
||||||
comm->read_ready();
|
{
|
||||||
}
|
LyXComm * comm = static_cast<LyXComm *>(data);
|
||||||
|
comm->read_ready();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void lyx_gui::set_read_callback(int fd, LyXComm * comm)
|
void lyx_gui::set_read_callback(int fd, LyXComm * comm)
|
||||||
|
Loading…
Reference in New Issue
Block a user