source: extensions/gsdl-video/trunk/installed/cmdline/lib/ruby/1.8/i686-linux/re.h@ 18425

Last change on this file since 18425 was 18425, checked in by davidb, 15 years ago

Video extension to Greenstone

File size: 991 bytes
Line 
1/**********************************************************************
2
3 re.h -
4
5 $Author: shyouhei $
6 $Date: 2007-02-13 08:01:19 +0900 (Tue, 13 Feb 2007) $
7 created at: Thu Sep 30 14:18:32 JST 1993
8
9 Copyright (C) 1993-2003 Yukihiro Matsumoto
10
11**********************************************************************/
12
13#ifndef RE_H
14#define RE_H
15
16#include <sys/types.h>
17#include <stdio.h>
18
19#include "regex.h"
20
21typedef struct re_pattern_buffer Regexp;
22
23struct RMatch {
24 struct RBasic basic;
25 VALUE str;
26 struct re_registers *regs;
27};
28
29#define RMATCH(obj) (R_CAST(RMatch)(obj))
30
31VALUE rb_reg_regcomp _((VALUE));
32long rb_reg_search _((VALUE, VALUE, long, long));
33VALUE rb_reg_regsub _((VALUE, VALUE, struct re_registers *));
34long rb_reg_adjust_startpos _((VALUE, VALUE, long, long));
35void rb_match_busy _((VALUE));
36VALUE rb_reg_quote _((VALUE));
37
38RUBY_EXTERN int ruby_ignorecase;
39
40int rb_reg_mbclen2 _((unsigned int, VALUE));
41#define mbclen2(c,re) rb_reg_mbclen2((c),(re))
42#endif
Note: See TracBrowser for help on using the repository browser.