]> git.saurik.com Git - wxWidgets.git/blob - wxPython/wxSWIG/swig_lib/stdlib.i
Tcl regex lib
[wxWidgets.git] / wxPython / wxSWIG / swig_lib / stdlib.i
1 //
2 // $Header$
3 //
4 // stdlib.i
5 // Dave Beazley
6 // March 24, 1996
7 // SWIG file for some C stdlib functions
8 //
9 /* Revision history
10 * $Log$
11 * Revision 1.1 2002/04/29 19:56:49 RD
12 * Since I have made several changes to SWIG over the years to accomodate
13 * special cases and other things in wxPython, and since I plan on making
14 * several more, I've decided to put the SWIG sources in wxPython's CVS
15 * instead of relying on maintaining patches. This effectivly becomes a
16 * fork of an obsolete version of SWIG, :-( but since SWIG 1.3 still
17 * doesn't have some things I rely on in 1.1, not to mention that my
18 * custom patches would all have to be redone, I felt that this is the
19 * easier road to take.
20 *
21 * Revision 1.1.1.1 1999/02/28 02:00:53 beazley
22 * Swig1.1
23 *
24 * Revision 1.1 1996/05/22 17:27:01 beazley
25 * Initial revision
26 *
27 */
28
29 %module stdlib
30 %{
31 #include <stdlib.h>
32 %}
33
34 typedef unsigned int size_t;
35
36 double atof(const char *s);
37 int atoi(const char *s);
38 long atol(const char *s);
39 int rand();
40 void srand(unsigned int seed);
41 void *calloc(size_t nobj, size_t size);
42 void *malloc(size_t size);
43 void *realloc(void *ptr, size_t size);
44 void free(void *ptr);
45 void abort(void);
46 int system(const char *s);
47 char *getenv(const char *name);
48 int abs(int n);
49 long labs(long n);
50