intl/lwbrk/src/rulebrk.h

Thu, 15 Jan 2015 21:03:48 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:03:48 +0100
branch
TOR_BUG_9701
changeset 11
deefc01c0e14
permissions
-rw-r--r--

Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)

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

mercurial