Sha256: 77c1da54b78823ac9ea67ae5c142867bb924432bd8c8de4f4c32e73c08272c56

Contents?: true

Size: 1.76 KB

Versions: 637

Compression:

Stored size: 1.76 KB

Contents

/**********************************************************************

  encindex.h -

  $Author$
  created at: Tue Sep 15 13:21:14 JST 2015

  Copyright (C) 2015 Yukihiro Matsumoto

**********************************************************************/

#ifndef RUBY_ENCINDEX_H
#define RUBY_ENCINDEX_H 1
#if defined(__cplusplus)
extern "C" {
#if 0
} /* satisfy cc-mode */
#endif
#endif

enum ruby_preserved_encindex {
    RUBY_ENCINDEX_ASCII,
    RUBY_ENCINDEX_UTF_8,
    RUBY_ENCINDEX_US_ASCII,

    /* preserved indexes */
    RUBY_ENCINDEX_UTF_16BE,
    RUBY_ENCINDEX_UTF_16LE,
    RUBY_ENCINDEX_UTF_32BE,
    RUBY_ENCINDEX_UTF_32LE,
    RUBY_ENCINDEX_UTF_16,
    RUBY_ENCINDEX_UTF_32,
    RUBY_ENCINDEX_UTF8_MAC,

    /* for old options of regexp */
    RUBY_ENCINDEX_EUC_JP,
    RUBY_ENCINDEX_Windows_31J,

    RUBY_ENCINDEX_BUILTIN_MAX
};

#define ENCINDEX_ASCII       RUBY_ENCINDEX_ASCII
#define ENCINDEX_UTF_8       RUBY_ENCINDEX_UTF_8
#define ENCINDEX_US_ASCII    RUBY_ENCINDEX_US_ASCII
#define ENCINDEX_UTF_16BE    RUBY_ENCINDEX_UTF_16BE
#define ENCINDEX_UTF_16LE    RUBY_ENCINDEX_UTF_16LE
#define ENCINDEX_UTF_32BE    RUBY_ENCINDEX_UTF_32BE
#define ENCINDEX_UTF_32LE    RUBY_ENCINDEX_UTF_32LE
#define ENCINDEX_UTF_16      RUBY_ENCINDEX_UTF_16
#define ENCINDEX_UTF_32      RUBY_ENCINDEX_UTF_32
#define ENCINDEX_UTF8_MAC    RUBY_ENCINDEX_UTF8_MAC
#define ENCINDEX_EUC_JP      RUBY_ENCINDEX_EUC_JP
#define ENCINDEX_Windows_31J RUBY_ENCINDEX_Windows_31J
#define ENCINDEX_BUILTIN_MAX RUBY_ENCINDEX_BUILTIN_MAX

#define rb_ascii8bit_encindex() RUBY_ENCINDEX_ASCII
#define rb_utf8_encindex()      RUBY_ENCINDEX_UTF_8
#define rb_usascii_encindex()   RUBY_ENCINDEX_US_ASCII

#if defined(__cplusplus)
#if 0
{ /* satisfy cc-mode */
#endif
}  /* extern "C" { */
#endif

#endif /* RUBY_ENCINDEX_H */

Version data entries

637 entries across 52 versions & 4 rubygems

Version Path
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-0.10.16/lib/debase/ruby_core_source/ruby-2.3.2-p217/encindex.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-0.10.16/lib/debase/ruby_core_source/ruby-2.3.3-p222/encindex.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-2.3.1-p112/encindex.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-0.10.16/lib/debase/ruby_core_source/ruby-2.3.6-p384/encindex.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-0.10.16/lib/debase/ruby_core_source/ruby-2.4.3-p205/encindex.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-2.3.5-p376/encindex.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-2.4.3-p205/encindex.h
avalara_sdk-24.2.29 vendor/bundle/ruby/2.7.0/gems/debase-ruby_core_source-3.3.1/lib/debase/ruby_core_source/ruby-2.3.2-p217/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.3.6-p384/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.3.5-p376/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.4.0-p0/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.3.3-p222/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.3.2-p217/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.3.4-p301/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.4.0-rc1/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.4.1-p111/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.3.0-p0/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.4.2-p198/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.3.1-p112/encindex.h
debase-ruby_core_source-3.3.1 lib/debase/ruby_core_source/ruby-2.4.3-p205/encindex.h