mirror of
https://github.com/go-gitea/gitea.git
synced 2024-12-21 22:14:50 +08:00
ad2642a8aa
* Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
15 lines
808 B
C
15 lines
808 B
C
#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);
|