intl/lwbrk/rulebrk.h
author Boris Zbarsky <bzbarsky@mit.edu>
Thu, 16 Oct 2014 23:18:42 -0400
changeset 210843 01d25edea2bc80f6d27d74704f9f9364c2eab63a
parent 196038 345f6e3e6972e786242960703ad5b6cdc4348602
child 455152 4298f6dff99bfcda44129327b46c24a7a1d76b63
child 489668 cbb8fdf1daf98a15f7d57f6b08d273bdf96aa1a0
child 604743 00518e4b68f181bd38e71eb944c683ef494f2261
permissions -rw-r--r--
Bug 1083232. Don't refcount the principals in FrameState, since it has stack lifetime and the principals will be kept alive by the JS stack while he FrameState is alive. r=fitzgen

/* 
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