698
by Steven G. Johnson
added wisdom api |
1 |
/*
|
2914
by Steven G. Johnson
copyright year update |
2 |
* Copyright (c) 2003, 2007-14 Matteo Frigo
|
3 |
* Copyright (c) 2003, 2007-14 Massachusetts Institute of Technology
|
|
698
by Steven G. Johnson
added wisdom api |
4 |
*
|
5 |
* This program is free software; you can redistribute it and/or modify
|
|
6 |
* it under the terms of the GNU General Public License as published by
|
|
7 |
* the Free Software Foundation; either version 2 of the License, or
|
|
8 |
* (at your option) any later version.
|
|
9 |
*
|
|
10 |
* This program is distributed in the hope that it will be useful,
|
|
11 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
12 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
13 |
* GNU General Public License for more details.
|
|
14 |
*
|
|
15 |
* You should have received a copy of the GNU General Public License
|
|
16 |
* along with this program; if not, write to the Free Software
|
|
2838
by athena
Update the FSF address. |
17 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
698
by Steven G. Johnson
added wisdom api |
18 |
*
|
19 |
*/
|
|
20 |
||
3007
by Matteo Frigo
Do not set include path ("-I") in Makefile.am |
21 |
#include "api/api.h" |
698
by Steven G. Johnson
added wisdom api |
22 |
|
781
by Matteo Frigo
Fixed formatting that was messed up by the conversion uint->int. |
23 |
void X(forget_wisdom)(void) |
698
by Steven G. Johnson
added wisdom api |
24 |
{
|
781
by Matteo Frigo
Fixed formatting that was messed up by the conversion uint->int. |
25 |
planner *plnr = X(the_planner)(); |
698
by Steven G. Johnson
added wisdom api |
26 |
plnr->adt->forget(plnr, FORGET_EVERYTHING); |
27 |
}
|