mtext_push_property(3m17n)
β¨ NAME β¨
mtext_push_property β bestie this is the one from the m17n Library (that's the manual we're living in, section 3m17n π)
πΈ SYNOPSIS πΈ
int mtext_push_property (MText * mt, int from, int to, MTextProperty *
prop)
π¦ DESCRIPTION π¦
okay so picture this: you've got an M-text and you wanna push a text property onto it. That's literally the whole job. The mtext_push_property() function pushes text property prop to the characters between from (inclusive) and to (exclusive) in M-text mt.
read that again bestie, the inclusivity is the moment: from is IN, to is OUT. it's giving half-open interval, it's giving math class but make it cute. π
π RETURN VALUE π
- if everything went slay?
mtext_push_property()returns0. no notes, flawless, periodt. β¨ - if it did not go slay? it returns
-1and assigns an error code to the external variablemerror_code. so checkmerror_codewhen you see that-1, iykyk. π
π COPYRIGHT π
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License <http://www.gnu.org/licenses/fdl.html>.
and that's the whole page, bestie π«Ά this was Version 1.8.4, dated Mon Sep 25 2023, and yes it really is mtext_push_property(3m17n) through and through. go forth and push those properties, you absolute icon πβ
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms