summaryrefslogtreecommitdiffstats
path: root/src/pinyin.h
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-12-05 11:01:27 +0800
committerPeng Wu <alexepico@gmail.com>2012-12-05 11:01:27 +0800
commit2e0f37b400572b6ed9938229802efd47902f7985 (patch)
tree36184693bf95535c3ec75ae92832ce7701e401f8 /src/pinyin.h
parentb79f409d67678275488bf803467dd48b00518309 (diff)
downloadlibpinyin-2e0f37b400572b6ed9938229802efd47902f7985.tar.gz
libpinyin-2e0f37b400572b6ed9938229802efd47902f7985.tar.xz
libpinyin-2e0f37b400572b6ed9938229802efd47902f7985.zip
remove pinyin_clear_constraint*
Diffstat (limited to 'src/pinyin.h')
-rw-r--r--src/pinyin.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/pinyin.h b/src/pinyin.h
index 7113704..136848e 100644
--- a/src/pinyin.h
+++ b/src/pinyin.h
@@ -431,28 +431,6 @@ bool pinyin_free_candidates(pinyin_instance_t * instance,
CandidateVector candidates);
/**
- * pinyin_clear_constraint:
- * @instance: the pinyin instance.
- * @offset: the offset in the pinyin keys.
- * @returns: whether the constraint is cleared.
- *
- * Clear the previous chosen candidate.
- *
- */
-bool pinyin_clear_constraint(pinyin_instance_t * instance,
- size_t offset);
-
-/**
- * pinyin_clear_constraints:
- * @instance: the pinyin instance.
- * @returns: whether the constraints are cleared.
- *
- * Clear all constraints.
- *
- */
-bool pinyin_clear_constraints(pinyin_instance_t * instance);
-
-/**
* pinyin_lookup_tokens:
* @instance: the pinyin instance.
* @phrase: the phrase to be looked up.