2 * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
3 * Copyright (C) 2010-2010 - DIGITEO - Antoine ELIAS
4 * Copyright (C) 2010-2011 - DIGITEO - Bruno JOFRET
6 * Copyright (C) 2012 - 2016 - Scilab Enterprises
8 * This file is hereby licensed under the terms of the GNU GPL v2.0,
9 * pursuant to article 5.3.4 of the CeCILL v.2.1.
10 * This file was originally licensed under the terms of the CeCILL v2.1,
11 * and continues to be available under such terms.
12 * For more information, see the COPYING file which you should have received
13 * along with this program.
17 #ifndef __STRING_GW_HXX__
18 #define __STRING_GW_HXX__
20 #include "dynlib_string_gw.h"
22 #include "cpp_gateway_prototype.hxx"
23 #include "sci_malloc.h"
31 EXTERN_STRING_GW static int Load();
32 EXTERN_STRING_GW static int Unload()
38 static wchar_t* pwstToken;
39 static wchar_t* setToken(wchar_t* _base);
40 static void deleteToken();
43 CPP_GATEWAY_PROTOTYPE(sci_grep);
44 CPP_GATEWAY_PROTOTYPE(sci_stripblanks);
45 CPP_GATEWAY_PROTOTYPE(sci_regexp);
46 CPP_GATEWAY_PROTOTYPE(sci_part);
47 CPP_GATEWAY_PROTOTYPE(sci_length);
48 CPP_GATEWAY_PROTOTYPE(sci_strindex);
49 CPP_GATEWAY_PROTOTYPE(sci_strsubst);
50 CPP_GATEWAY_PROTOTYPE(sci_ascii);
51 CPP_GATEWAY_PROTOTYPE(sci_strcat);
52 CPP_GATEWAY_PROTOTYPE(sci_string);
53 CPP_GATEWAY_PROTOTYPE(sci_convstr);
54 CPP_GATEWAY_PROTOTYPE(sci_strncpy);
55 CPP_GATEWAY_PROTOTYPE(sci_strchr);
56 CPP_GATEWAY_PROTOTYPE(sci_strrchr);
57 CPP_GATEWAY_PROTOTYPE(sci_strstr);
58 CPP_GATEWAY_PROTOTYPE(sci_strrev);
59 CPP_GATEWAY_PROTOTYPE(sci_strtod);
60 CPP_GATEWAY_PROTOTYPE(sci_tokens);
61 CPP_GATEWAY_PROTOTYPE(sci_strcmp);
62 CPP_GATEWAY_PROTOTYPE(sci_isletter);
63 CPP_GATEWAY_PROTOTYPE(sci_strcspn);
64 CPP_GATEWAY_PROTOTYPE(sci_strtok);
65 CPP_GATEWAY_PROTOTYPE(sci_strspn);
66 CPP_GATEWAY_PROTOTYPE(sci_isalphanum);
67 CPP_GATEWAY_PROTOTYPE(sci_isdigit);
68 CPP_GATEWAY_PROTOTYPE(sci_isascii);
69 CPP_GATEWAY_PROTOTYPE(sci_strsplit);
70 CPP_GATEWAY_PROTOTYPE(sci_isnum);
71 CPP_GATEWAY_PROTOTYPE(sci_emptystr);
72 #endif /* !__STRING_GW_HXX__ */