Changeset afa200a for owl.h


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:
12bc46a
Parents:
f1d7d0f
git-author:
Anders Kaseorg <andersk@mit.edu> (08/04/09 00:18:32)
git-committer:
Anders Kaseorg <andersk@mit.edu> (08/15/09 19:08:20)
Message:
Add const qualifiers for owl_keymap *.

Signed-off-by: Anders Kaseorg <andersk@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    rbd65108 rafa200a  
    448448  char     *desc;               /* description */
    449449  owl_list  bindings;           /* key bindings */
    450   struct _owl_keymap *submap;   /* submap */
     450  const struct _owl_keymap *submap;     /* submap */
    451451  void (*default_fn)(owl_input j);      /* default action (takes a keypress) */
    452452  void (*prealways_fn)(owl_input  j);   /* always called before a keypress is received */
     
    456456typedef struct _owl_keyhandler {
    457457  owl_dict  keymaps;            /* dictionary of keymaps */
    458   owl_keymap *active;           /* currently active keymap */
     458  const owl_keymap *active;             /* currently active keymap */
    459459  int       in_esc;             /* escape pressed? */
    460460  int       kpstack[OWL_KEYMAP_MAXSTACK+1]; /* current stack of keypresses */
Note: See TracChangeset for help on using the changeset viewer.