Changeset 12bc46a


Ignore:
Timestamp:
Aug 15, 2009, 7:08:20 PM (12 years ago)
Author:
Anders Kaseorg <andersk@mit.edu>
Branches:
master, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
476faed
Parents:
afa200a
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 02:38:12)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:20)
Message:
Add const qualifiers for owl_keyhandler *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    rafa200a r12bc46a  
    29022902  owl_fmtext fm;
    29032903  const owl_keymap *km;
    2904   owl_keyhandler *kh;
     2904  const owl_keyhandler *kh;
    29052905  int i, numkm;
    29062906  const char *kmname;
  • keybinding.c

    rf1d7d0f r12bc46a  
    106106
    107107/* returns 0 on no match, 1 on subset match, and 2 on complete match */
    108 int owl_keybinding_match(const owl_keybinding *kb, owl_keyhandler *kh)
     108int owl_keybinding_match(const owl_keybinding *kb, const owl_keyhandler *kh)
    109109{
    110110  int i;
  • keymap.c

    rafa200a r12bc46a  
    167167}
    168168
    169 owl_keymap *owl_keyhandler_get_keymap(owl_keyhandler *kh, const char *mapname)
     169owl_keymap *owl_keyhandler_get_keymap(const owl_keyhandler *kh, const char *mapname)
    170170{
    171171  return owl_dict_find_element(&kh->keymaps, mapname);
     
    173173
    174174/* free the list with owl_cmddict_namelist_free */
    175 void owl_keyhandler_get_keymap_names(owl_keyhandler *kh, owl_list *l)
     175void owl_keyhandler_get_keymap_names(const owl_keyhandler *kh, owl_list *l)
    176176{
    177177  owl_dict_get_keys(&kh->keymaps, l);
Note: See TracChangeset for help on using the changeset viewer.