]> git.saurik.com Git - wxWidgets.git/blame - wxPython/wxSWIG/swig_lib/ctype.i
moved XML classes to the core
[wxWidgets.git] / wxPython / wxSWIG / swig_lib / ctype.i
CommitLineData
c90f71dd
RD
1//
2// ctype.i
3// Dave Beazley
4// November 30, 1996
5// SWIG file for character tests
6//
7
8%module ctype
9%{
10#include <ctype.h>
11%}
12
13%section "Character Class Testing Module",after,info,nosort,pre,chop_left=3,chop_bottom=0,chop_top=0,chop_right=0,skip=1
14
15%text %{
16%include ctype.i
17
18This module provides access to a number of functions for testing
19characters. These functions are in the C <ctype.h> library.
20Most scripting languages already provide much of this functionality,
21but just in case you want to use one of the built-in C functions,
22you can use this module.
23%}
24
25int isalnum(char c);
26/* Returns 1 if isalpha(c) or isdigit(c) is true. */
27
28int isalpha(char c);
29/* Returns 1 if isupper(c) or islower(c) is true. */
30
31int iscntrl(char c);
32/* Returns 1 if c is a control character. */
33
34int isdigit(char c);
35/* Returns 1 if c is a decimal digit. */
36
37int isgraph(char c);
38/* Returns 1 if c is a printing character except space. */
39
40int islower(char c);
41/* Returns 1 if c is a lower-case letter. */
42
43int isprint(char c);
44/* Returns 1 if c is a printing character including space. */
45
46int ispunct(char c);
47/* Returns 1 if c is a printing character except space or letter
48 or digit. */
49
50int isspace(char c);
51/* Returns 1 if c is a space, formfeed, newline, carriage return,
52 tab, or vertical tab. */
53
54int isupper(char c);
55/* Returns 1 if c is an upper case letter. */
56
57int isxdigit(char c);
58/* Returns 1 if c is a hexadecimal digit. */
59
60char tolower(char c);
61/* Converts c to lower case */
62
63char toupper(char c);
64/* Converts c to upper case */