Sha256: da1224cf1bc0c97a86afb7b4b01c1e449c4fdd90378fe5867a8908297bca12b3

Contents?: true

Size: 742 Bytes

Versions: 37

Compression:

Stored size: 742 Bytes

Contents

// Copyright (c) 2017 Peter Ohler. All rights reserved.
// Licensed under the MIT License. See LICENSE file in the project root for license details.

#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

37 entries across 37 versions & 2 rubygems

Version Path
devcycle-ruby-server-sdk-2.0.0 vendor/bundle/ruby/3.0.0/gems/oj-3.13.2/ext/oj/rxclass.h
oj-3.14.2 ext/oj/rxclass.h
oj-3.14.1 ext/oj/rxclass.h
oj-3.14.0 ext/oj/rxclass.h
oj-3.13.23 ext/oj/rxclass.h
oj-3.13.22 ext/oj/rxclass.h
oj-3.13.21 ext/oj/rxclass.h
oj-3.13.20 ext/oj/rxclass.h
oj-3.13.19 ext/oj/rxclass.h
oj-3.13.18 ext/oj/rxclass.h
oj-3.13.17 ext/oj/rxclass.h
oj-3.13.16 ext/oj/rxclass.h
oj-3.13.15 ext/oj/rxclass.h
oj-3.13.14 ext/oj/rxclass.h
oj-3.13.13 ext/oj/rxclass.h
oj-3.13.12 ext/oj/rxclass.h
oj-3.13.11 ext/oj/rxclass.h
oj-3.13.10 ext/oj/rxclass.h
oj-3.13.9 ext/oj/rxclass.h
oj-3.13.8 ext/oj/rxclass.h