iv-phonic 0.0.7 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
- #ifndef IV_STRINGPIECE_H_
2
- #define IV_STRINGPIECE_H_
1
+ #ifndef _IV_STRINGPIECE_H_
2
+ #define _IV_STRINGPIECE_H_
3
3
  #pragma once
4
4
 
5
5
  #include <algorithm>
@@ -382,4 +382,4 @@ std::ostream& operator<<(std::ostream& o,
382
382
  typedef BasicStringPiece<char, std::char_traits<char> > StringPiece;
383
383
 
384
384
  } } // namespace iv::core
385
- #endif // IV_STRINGPIECE_H_
385
+ #endif // _IV_STRINGPIECE_H_
@@ -1,9 +1,9 @@
1
- #ifndef IV_USTRINGPIECE_H_
2
- #define IV_USTRINGPIECE_H_
1
+ #ifndef _IV_USTRINGPIECE_H_
2
+ #define _IV_USTRINGPIECE_H_
3
3
  #include "uchar.h"
4
4
  #include "stringpiece.h"
5
5
  namespace iv {
6
6
  namespace core {
7
7
  typedef BasicStringPiece<uc16, std::char_traits<uc16> > UStringPiece;
8
8
  } } // namespace iv::core
9
- #endif // IV_USTRINGPIECE_H_
9
+ #endif // _IV_USTRINGPIECE_H_
@@ -6,7 +6,7 @@
6
6
  namespace iv {
7
7
  namespace phonic {
8
8
 
9
- typedef core::Parser<AstFactory, UTF16Source> Parser;
9
+ typedef core::Parser<AstFactory, UTF16Source, true> Parser;
10
10
 
11
11
  } } // namespace iv::phonic
12
12
  #endif // _IV_PHONIC_PARSER_H_
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 0
8
- - 7
9
- version: 0.0.7
8
+ - 8
9
+ version: 0.0.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Constellation
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-12-11 00:00:00 +09:00
17
+ date: 2011-01-11 00:00:00 +09:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -100,7 +100,6 @@ files:
100
100
  - ext/include/iv/location.h
101
101
  - ext/include/iv/ast_info.h
102
102
  - ext/include/iv/none.h
103
- - ext/include/iv/algorithm.h
104
103
  - ext/include/iv/ustring.h
105
104
  - ext/include/iv/ast_serializer.h
106
105
  - ext/include/iv/utils.h
@@ -109,6 +108,7 @@ files:
109
108
  - ext/include/iv/chars.h
110
109
  - ext/include/iv/fixedcontainer.h
111
110
  - ext/include/iv/ustringpiece.h
111
+ - ext/include/iv/character.h
112
112
  - ext/include/iv/ucdata.h
113
113
  - ext/iv/phonic/factory.h
114
114
  - ext/iv/phonic/ast_fwd.h
@@ -1,23 +0,0 @@
1
- #ifndef _IV_ALGORITHM_H
2
- #define _IV_ALGORITHM_H_
3
- namespace iv {
4
- namespace algorithm {
5
- template<class InputIterator,
6
- class OutputIterator,
7
- class UnaryFunction,
8
- class Predicate>
9
- OutputIterator transform_if(InputIterator first,
10
- InputIterator last,
11
- OutputIterator result,
12
- UnaryFunction f,
13
- Predicate pred) {
14
- while (first != last) {
15
- if (pred(*first)) {
16
- *result++ = f(*first);
17
- }
18
- ++first;
19
- }
20
- return result;
21
- }
22
- } } // namespace iv::algorithm
23
- #endif // _IV_ALGORITHM_H_