intl/lwbrk/src/rulebrk.h

Thu, 22 Jan 2015 13:21:57 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 22 Jan 2015 13:21:57 +0100
branch
TOR_BUG_9701
changeset 15
b8a032363ba2
permissions
-rw-r--r--

Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6

     1 /* 
     2 Copyright (c) 1999 Samphan Raruenrom <samphan@thai.com>
     3 Permission to use, copy, modify, distribute and sell this software
     4 and its documentation for any purpose is hereby granted without fee,
     5 provided that the above copyright notice appear in all copies and
     6 that both that copyright notice and this permission notice appear
     7 in supporting documentation.  Samphan Raruenrom makes no
     8 representations about the suitability of this software for any
     9 purpose.  It is provided "as is" without express or implied warranty.
    10 */
    11 #ifndef __RULEBRK_H__
    12 #define __RULEBRK_H__
    13 #include "th_char.h"
    15 #ifdef __cplusplus
    16 extern "C" {
    17 #endif
    19 int TrbWordBreakPos(const th_char *pstr, int left, 
    20                     const th_char *rstr, int right);
    21 int TrbFollowing(const th_char *begin, int length, int offset);
    23 #ifdef __cplusplus
    24 }
    25 #endif
    26 #endif

mercurial