intl/lwbrk/rulebrk.h
author Milan Sreckovic <milan@mozilla.com>
Tue, 20 Dec 2016 11:43:45 -0500
changeset 326938 4b2df70dde35faf974a7a1adb6186a874867890d
parent 195905 345f6e3e6972e786242960703ad5b6cdc4348602
child 367749 6a629adbb62a299d7208373d1c6f375149d2afdb
permissions -rw-r--r--
Bug 1323834: Evaluate some information outside the loop, then use it repeatedly. r=dvander MozReview-Commit-ID: IpndTclvfQf

/* 
Copyright (c) 1999 Samphan Raruenrom <samphan@thai.com>
Permission to use, copy, modify, distribute and sell this software
and its documentation for any purpose is hereby granted without fee,
provided that the above copyright notice appear in all copies and
that both that copyright notice and this permission notice appear
in supporting documentation.  Samphan Raruenrom makes no
representations about the suitability of this software for any
purpose.  It is provided "as is" without express or implied warranty.
*/
#ifndef __RULEBRK_H__
#define __RULEBRK_H__
#include "th_char.h"

#ifdef __cplusplus
extern "C" {
#endif

int TrbWordBreakPos(const th_char *pstr, int left, 
                    const th_char *rstr, int right);
int TrbFollowing(const th_char *begin, int length, int offset);

#ifdef __cplusplus
}
#endif
#endif