comparison dwtx/dwtxhelper/mangoicu/UBreakIterator.d @ 162:1a5b8f8129df

...
author Frank Benoit <benoit@tionex.de>
date Mon, 08 Sep 2008 00:51:37 +0200
parents 95307ad235d9
children
comparison
equal deleted inserted replaced
161:f8d52b926852 162:1a5b8f8129df
310 Handle handle; 310 Handle handle;
311 UText ut; 311 UText ut;
312 312
313 // this is returned by next(), previous() etc ... 313 // this is returned by next(), previous() etc ...
314 const uint Done = uint.max; 314 const uint Done = uint.max;
315 alias Done DONE;
315 316
316 /*********************************************************************** 317 /***********************************************************************
317 318
318 internal types passed to C API 319 internal types passed to C API
319 320
452 { 453 {
453 if (offset == uint.max) 454 if (offset == uint.max)
454 return ubrk_next (handle); 455 return ubrk_next (handle);
455 return ubrk_following (handle, offset); 456 return ubrk_following (handle, offset);
456 } 457 }
457 458 alias next following;
458 /*********************************************************************** 459 /***********************************************************************
459 460
460 Determine the text boundary preceding the current text 461 Determine the text boundary preceding the current text
461 boundary, or Done if all text boundaries have been returned. 462 boundary, or Done if all text boundaries have been returned.
462 463