Mercurial > emacs
view lwlib/lwlib-Xolmb.h @ 9605:cf97e75d8e02
(searchbufs): New variable, replaces searchbuf and last_regexp and
search_fastmap.
(syms_of_search): Initialize it.
(searchbuf_head): New variable.
(compile_pattern_1): Renamed from compile_pattern and made static.
Copy the regexp string in case the caller modifies it in place later.
(compile_pattern): New code, uses a cached entry if one is available.
The pattern buffer is now a return value instead of an arg.
(set_search_regs): Set num_regs directly, since there's no active
pattern buffer to pass to re_set_registers.
(Fstore_match_data): Likewise.
(Flooking_at): Use the new calling convention for compile_pattern.
(Fstring_match, fast_string_match, search_buffer): Likewise.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Wed, 19 Oct 1994 04:51:45 +0000 |
parents | f999ebca00da |
children | ee40177f6c68 |
line wrap: on
line source
/* An OLIT menubar widget, by Chuck Thompson <cthomp@cs.uiuc.edu> Copyright (C) 1993 Lucid, Inc. This file is part of the Lucid Widget Library. The Lucid Widget Library is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version. The Lucid Widget Library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with GNU Emacs; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ #ifndef LW_MENUBAR_H #define LW_MENUBAR_H extern WidgetClass lwMenubarWidgetClass; typedef struct _lwMenuBarClassRec *lwMenuBarWidgetClass; typedef struct _lwMenuBarRec *lwMenuBarWidget; #endif /* LW_MENUBAR_H */