HaikuDepot: notify work status from main window
[haiku.git] / src / libs / mapm / mapm_fam.c
blob143fdfe7cdc8436d2b25d78d15d7ef3cba1f3586
2 /*
3 * M_APM - mapm_fam.c
5 * Copyright (C) 1999 - 2007 Michael C. Ring
7 * Permission to use, copy, and distribute this software and its
8 * documentation for any purpose with or without fee is hereby granted,
9 * provided that the above copyright notice appear in all copies and
10 * that both that copyright notice and this permission notice appear
11 * in supporting documentation.
13 * Permission to modify the software is granted. Permission to distribute
14 * the modified code is granted. Modifications are to be distributed by
15 * using the file 'license.txt' as a template to modify the file header.
16 * 'license.txt' is available in the official MAPM distribution.
18 * This software is provided "as is" without express or implied warranty.
22 * $Id: mapm_fam.c,v 1.5 2007/12/03 01:36:38 mike Exp $
24 * This file contains the free all memory and similiar functions.
26 * $Log: mapm_fam.c,v $
27 * Revision 1.5 2007/12/03 01:36:38 mike
28 * Update license
30 * Revision 1.4 2003/03/30 21:13:05 mike
31 * remove _log from free list
33 * Revision 1.3 2002/02/14 13:36:27 mike
34 * add conditional compile around free all FFT
36 * Revision 1.2 2001/07/16 18:52:40 mike
37 * add some comments
39 * Revision 1.1 2001/07/16 18:41:44 mike
40 * Initial revision
43 #include "m_apm_lc.h"
45 /****************************************************************************/
46 void m_apm_free_all_mem()
48 M_free_all_add(); /* call each module which has statically declared data */
49 M_free_all_div();
50 M_free_all_exp();
52 #ifndef NO_FFT_MULTIPLY
53 M_free_all_fft();
54 #endif
56 M_free_all_pow();
57 M_free_all_rnd();
58 M_free_all_set();
59 M_free_all_cnst();
60 M_free_all_fmul();
61 M_free_all_stck();
62 M_free_all_util();
64 /****************************************************************************/
65 void m_apm_trim_mem_usage()
67 m_apm_free_all_mem();
68 m_apm_free(m_apm_init());
70 /****************************************************************************/