X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=include%2Fnc_panel.h;fp=include%2Fnc_panel.h;h=6578577ee9887d4ac1738a75795d685d9692b07d;hp=bb1f6745ac0cad4ffe58eb0e2213666700956d95;hb=8f527f87c0b979d9c2598ef5c3394463af288468;hpb=4c309ad3b124eff80aa6b54018b5cc9f1e3d116d diff --git a/include/nc_panel.h b/include/nc_panel.h index bb1f6745..6578577e 100644 --- a/include/nc_panel.h +++ b/include/nc_panel.h @@ -1,5 +1,5 @@ /**************************************************************************** - * Copyright (c) 1998,2000 Free Software Foundation, Inc. * + * Copyright (c) 1998-2000,2008 Free Software Foundation, Inc. * * * * Permission is hereby granted, free of charge, to any person obtaining a * * copy of this software and associated documentation files (the * @@ -27,13 +27,13 @@ ****************************************************************************/ /**************************************************************************** - * Author: Zeyd M. Ben-Halim 1992,1995 * - * and: Eric S. Raymond * + * Author: Juergen Pfeifer 1997 * + * and: Thomas E. Dickey * ****************************************************************************/ /* - * $Id: nc_panel.h,v 1.3 2000/12/10 02:04:35 tom Exp $ + * $Id: nc_panel.h,v 1.5 2008/08/04 18:26:46 tom Exp $ * * nc_panel.h * @@ -54,6 +54,9 @@ struct panelhook { struct panel* top_panel; struct panel* bottom_panel; struct panel* stdscr_pseudo_panel; +#if NO_LEAKS + int (*destroy)(struct panel *); +#endif }; /* Retrieve the panelhook of the current screen */