mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-09 12:08:12 +03:00
Using size_t for lengths (also remove most warnings when compiling for x64)
This commit is contained in:
parent
a0f2dccd07
commit
85b7ac3ed5
53 changed files with 814 additions and 514 deletions
|
@ -31,11 +31,11 @@ extern "C" {
|
|||
|
||||
struct slre_cap {
|
||||
const char *ptr;
|
||||
int len;
|
||||
size_t len;
|
||||
};
|
||||
|
||||
|
||||
int slre_match(const char *regexp, const char *buf, int buf_len,
|
||||
size_t slre_match(const char *regexp, const char *buf, size_t buf_len,
|
||||
struct slre_cap *caps, int num_caps, int flags);
|
||||
|
||||
/* Possible flags for slre_match() */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue