intl/lwbrk/src/rulebrk.h

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/intl/lwbrk/src/rulebrk.h	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,26 @@
     1.4 +/* 
     1.5 +Copyright (c) 1999 Samphan Raruenrom <samphan@thai.com>
     1.6 +Permission to use, copy, modify, distribute and sell this software
     1.7 +and its documentation for any purpose is hereby granted without fee,
     1.8 +provided that the above copyright notice appear in all copies and
     1.9 +that both that copyright notice and this permission notice appear
    1.10 +in supporting documentation.  Samphan Raruenrom makes no
    1.11 +representations about the suitability of this software for any
    1.12 +purpose.  It is provided "as is" without express or implied warranty.
    1.13 +*/
    1.14 +#ifndef __RULEBRK_H__
    1.15 +#define __RULEBRK_H__
    1.16 +#include "th_char.h"
    1.17 +
    1.18 +#ifdef __cplusplus
    1.19 +extern "C" {
    1.20 +#endif
    1.21 +
    1.22 +int TrbWordBreakPos(const th_char *pstr, int left, 
    1.23 +                    const th_char *rstr, int right);
    1.24 +int TrbFollowing(const th_char *begin, int length, int offset);
    1.25 +
    1.26 +#ifdef __cplusplus
    1.27 +}
    1.28 +#endif
    1.29 +#endif

mercurial