forked from forgejo/forgejo
Migrate to go-enry new version (#10906)
This commit is contained in:
parent
7a67bcc204
commit
4dc62dadce
65 changed files with 111849 additions and 102276 deletions
14
vendor/github.com/go-enry/go-oniguruma/chelper.h
generated
vendored
Normal file
14
vendor/github.com/go-enry/go-oniguruma/chelper.h
generated
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
#include <oniguruma.h>
|
||||
|
||||
extern int NewOnigRegex( char *pattern, int pattern_length, int option,
|
||||
OnigRegex *regex, OnigRegion **region, OnigEncoding *encoding, OnigErrorInfo **error_info, char **error_buffer);
|
||||
|
||||
extern int SearchOnigRegex( void *str, int str_length, int offset, int option,
|
||||
OnigRegex regex, OnigRegion *region, OnigErrorInfo *error_info, char *error_buffer, int *captures, int *numCaptures);
|
||||
|
||||
extern int MatchOnigRegex( void *str, int str_length, int offset, int option,
|
||||
OnigRegex regex, OnigRegion *region);
|
||||
|
||||
extern int LookupOnigCaptureByName(char *name, int name_length, OnigRegex regex, OnigRegion *region);
|
||||
|
||||
extern int GetCaptureNames(OnigRegex regex, void *buffer, int bufferSize, int* groupNumbers);
|
Loading…
Add table
Add a link
Reference in a new issue