Skip to content

Commit fb1f16c

Browse files
authored
docs/MigrationGuide_to_4.md - document convenience macro changes (libical#1021)
fixes: libical#1020
1 parent 11dec18 commit fb1f16c

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

docs/MigrationGuide_to_4.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,36 @@ The following functions have been added:
146146
* `icaltzutil_fetch_timezone()`
147147
* `icalrecurrencetype_clear()`
148148

149+
### Removed macros
150+
151+
These convenience macros were added in version 3 to ease porting from older versions.
152+
They have been removed in version 4 and should be replaced with their actual function
153+
names as follows:
154+
155+
| Old Macro Name | Actual Function Name |
156+
|--------------------------------------|----------------------------------------|
157+
| icalenum_action_to_string | icalproperty_action_to_string |
158+
| icalenum_class_to_string | icalproperty_class_to_string |
159+
| icalenum_component_kind_to_string | icalcomponent_kind_to_string |
160+
| icalenum_method_to_string | icalproperty_method_to_string |
161+
| icalenum_participanttype_to_string | icalproperty_participanttype_to_string |
162+
| icalenum_property_kind_to_string | icalproperty_kind_to_string |
163+
| icalenum_property_kind_to_value_kind | icalproperty_kind_to_value_kind |
164+
| icalenum_resourcetype_to_string | icalproperty_resourcetype_to_string |
165+
| icalenum_status_to_string | icalproperty_status_to_string |
166+
| icalenum_string_to_action | icalproperty_string_to_action |
167+
| icalenum_string_to_class | icalproperty_string_to_class |
168+
| icalenum_string_to_component_kind | icalcomponent_string_to_kind |
169+
| icalenum_string_to_method | icalproperty_string_to_method |
170+
| icalenum_string_to_participanttype | icalproperty_string_to_participanttype |
171+
| icalenum_string_to_property_kind | icalproperty_string_to_kind |
172+
| icalenum_string_to_resourcetype | icalproperty_string_to_resourcetype |
173+
| icalenum_string_to_status | icalproperty_string_to_status |
174+
| icalenum_string_to_transp | icalproperty_string_to_transp |
175+
| icalenum_string_to_value_kind | icalvalue_string_to_kind |
176+
| icalenum_transp_to_string | icalproperty_transp_to_string |
177+
| icalenum_value_kind_to_string | icalvalue_kind_to_string |
178+
149179
### Added data types
150180

151181
* These data types have been added:

0 commit comments

Comments
 (0)