Sha256: c1627385dea1b7e778195530fbc4b9cfecb9817c42e44f4e411a8e1ed0c6e304

Contents?: true

Size: 653 Bytes

Versions: 27

Compression:

Stored size: 653 Bytes

Contents

/* rxclass.h
 * Copyright (c) 2017, Peter Ohler
 * All rights reserved.
 */

#ifndef OJ_RXCLASS_H
#define OJ_RXCLASS_H

#include <stdbool.h>
#include "ruby.h"

struct _rxC;

typedef struct _rxClass {
    struct _rxC	*head;
    struct _rxC	*tail;
    char	err[128];
} *RxClass;

extern void	oj_rxclass_init(RxClass rc);
extern void	oj_rxclass_cleanup(RxClass rc);
extern int	oj_rxclass_append(RxClass rc, const char *expr, VALUE clas);
extern VALUE	oj_rxclass_match(RxClass rc, const char *str, int len);
extern void	oj_rxclass_copy(RxClass src, RxClass dest);
extern void	oj_rxclass_rappend(RxClass rc, VALUE rx, VALUE clas);

#endif /* OJ_RXCLASS_H */

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
oj-3.10.14 ext/oj/rxclass.h
oj-3.10.13 ext/oj/rxclass.h
oj-3.10.12 ext/oj/rxclass.h
oj-3.10.11 ext/oj/rxclass.h
oj-3.10.10 ext/oj/rxclass.h
oj-3.10.9 ext/oj/rxclass.h
oj-3.10.8 ext/oj/rxclass.h
oj-3.10.7 ext/oj/rxclass.h
oj-3.10.6 ext/oj/rxclass.h
oj-3.10.5 ext/oj/rxclass.h
oj-3.10.3 ext/oj/rxclass.h
oj-3.10.2 ext/oj/rxclass.h
oj-3.10.1 ext/oj/rxclass.h
zuora_connect_ui-0.10.0 vendor/ruby/2.6.0/gems/oj-3.10.0/ext/oj/rxclass.h
oj-3.10.0 ext/oj/rxclass.h
oj-3.9.2 ext/oj/rxclass.h
oj-3.9.1 ext/oj/rxclass.h
oj-3.9.0 ext/oj/rxclass.h
oj-3.8.1 ext/oj/rxclass.h
oj-3.8.0 ext/oj/rxclass.h