Re: [patch 1/5] Define separate structs for events

Kalle Olavi Niemitalo <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
Miciah Dashiel Butler Masters <[email protected]> writes:

> How about a separate routine to convert from interlink_event
> to term_event?

For EVENT_KBD, the conversion from interlink_event to term_event
can be many-to-many if CONFIG_UTF_8 is not defined.  I don't
think it would be a good idea to make handle_interlink_event take
an interlink_event and pass it to the new routine and then
process the resulting term_events.

Another option would be to rename handle_interlink_event to
handle_term_event and define a new handle_interlink_event that
calls it.  But I don't think enough code would be left in
handle_term_event to make it worthwhile.  The situation will be
different if some future version supports multiple interlink
protocols in parallel.

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)

iD4DBQFE1OaVHm9IGt60eMgRAnIRAJ4gND23AeDVBqtgHWw2AvGEYuKpgwCYh4tj
lqgS95evd7Qj14zjsUjOFg==
=tCed
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.