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_
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 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);