Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
sqstdstring.h
00001 /* see copyright notice in squirrel.h */ 00002 #ifndef _SQSTD_STRING_H_ 00003 #define _SQSTD_STRING_H_ 00004 00005 #ifdef __cplusplus 00006 extern "C" { 00007 #endif 00008 00009 typedef unsigned int SQRexBool; 00010 typedef struct SQRex SQRex; 00011 00012 typedef struct { 00013 const SQChar *begin; 00014 SQInteger len; 00015 } SQRexMatch; 00016 00017 SQUIRREL_API SQRex *sqstd_rex_compile(const SQChar *pattern,const SQChar **error); 00018 SQUIRREL_API void sqstd_rex_free(SQRex *exp); 00019 SQUIRREL_API SQBool sqstd_rex_match(SQRex* exp,const SQChar* text); 00020 SQUIRREL_API SQBool sqstd_rex_search(SQRex* exp,const SQChar* text, const SQChar** out_begin, const SQChar** out_end); 00021 SQUIRREL_API SQBool sqstd_rex_searchrange(SQRex* exp,const SQChar* text_begin,const SQChar* text_end,const SQChar** out_begin, const SQChar** out_end); 00022 SQUIRREL_API SQInteger sqstd_rex_getsubexpcount(SQRex* exp); 00023 SQUIRREL_API SQBool sqstd_rex_getsubexp(SQRex* exp, SQInteger n, SQRexMatch *subexp); 00024 00025 SQUIRREL_API SQRESULT sqstd_format(HSQUIRRELVM v,SQInteger nformatstringidx,SQInteger *outlen,SQChar **output); 00026 00027 SQUIRREL_API SQRESULT sqstd_register_stringlib(HSQUIRRELVM v); 00028 00029 #ifdef __cplusplus 00030 } /*extern "C"*/ 00031 #endif 00032 00033 #endif /*_SQSTD_STRING_H_*/
Generated on Tue Jul 12 2022 21:35:49 by
1.7.2