projects
/
m17n
/
m17n-lib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(msymbol__fini): Use MPLIST_VAL.
[m17n/m17n-lib.git]
/
src
/
textprop.h
diff --git
a/src/textprop.h
b/src/textprop.h
index
30e75b6
..
171ff7c
100644
(file)
--- a/
src/textprop.h
+++ b/
src/textprop.h
@@
-17,7
+17,7
@@
You should have received a copy of the GNU Lesser General Public
License along with the m17n library; if not, write to the Free
You should have received a copy of the GNU Lesser General Public
License along with the m17n library; if not, write to the Free
- Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
+ Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
02111-1307, USA. */
#ifndef _M17N_TEXTPROP_H_
02111-1307, USA. */
#ifndef _M17N_TEXTPROP_H_
@@
-50,6
+50,10
@@
struct MTextProperty
void *val;
};
void *val;
};
+#define MTEXTPROP_START(prop) (prop)->start
+#define MTEXTPROP_END(prop) (prop)->end
+#define MTEXTPROP_KEY(prop) (prop)->key
+#define MTEXTPROP_VAL(prop) (prop)->val
extern struct MTextPlist *mtext__copy_plist (struct MTextPlist *,
int from, int to,
extern struct MTextPlist *mtext__copy_plist (struct MTextPlist *,
int from, int to,
@@
-62,7
+66,8
@@
extern void mtext__adjust_plist_for_delete (MText *, int, int);
extern void mtext__adjust_plist_for_insert (MText *, int, int,
struct MTextPlist *);
extern void mtext__adjust_plist_for_insert (MText *, int, int,
struct MTextPlist *);
-extern void mtext__adjust_plist_for_change (MText *mt, int from, int to);
+extern void mtext__adjust_plist_for_change (MText *mt, int pos,
+ int len1, int len2);
extern void dump_textplist (struct MTextPlist *plist, int indent);
extern void dump_textplist (struct MTextPlist *plist, int indent);