Mercurial > projects > dwt2
comparison java/src/java/mangoicu/ULocale.d @ 21:9b96950f2c3c
the 'java' tree compiles on both D1-Tango and D2-Phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 19 Mar 2009 20:38:55 +0100 |
parents | dbfb303e8fb0 |
children |
comparison
equal
deleted
inserted
replaced
20:dccb717aa902 | 21:9b96950f2c3c |
---|---|
83 *******************************************************************************/ | 83 *******************************************************************************/ |
84 | 84 |
85 module java.mangoicu.ULocale; | 85 module java.mangoicu.ULocale; |
86 | 86 |
87 private import java.mangoicu.ICU; | 87 private import java.mangoicu.ICU; |
88 private import java.lang.util; | |
88 | 89 |
89 /******************************************************************************* | 90 /******************************************************************************* |
90 | 91 |
91 Note that this is a struct rather than a class. This is so | 92 Note that this is a struct rather than a class. This is so |
92 that one can easily construct these on the stack, plus the | 93 that one can easily construct these on the stack, plus the |
94 | 95 |
95 *******************************************************************************/ | 96 *******************************************************************************/ |
96 | 97 |
97 struct ULocale | 98 struct ULocale |
98 { | 99 { |
99 public char[] name; | 100 public CString name; |
100 | 101 |
101 /*********************************************************************** | 102 /*********************************************************************** |
102 | 103 |
103 ***********************************************************************/ | 104 ***********************************************************************/ |
104 | 105 |