Message398074
Hello!
This change added an enum to the stable ABI:
typedef enum {
PYGEN_RETURN = 0,
PYGEN_ERROR = -1,
PYGEN_NEXT = 1,
} PySendResult;
Adding new values to enums might break the stable ABI in some (admittedly rare) cases; so usually it's better to avoid enums and stick with int and #ifdef'd values.
This particular one looks like it won't be extended and won't cause problems, but still, switching to int would make stable ABI easier to work with.
Is anyone against switching to int?
See pbo-44727 for details. |
|
Date |
User |
Action |
Args |
2021-07-23 15:56:58 | petr.viktorin | set | recipients:
+ petr.viktorin, scoder, asvetlov, lukasz.langa, Mark.Shannon, serhiy.storchaka, yselivanov, v2m |
2021-07-23 15:56:58 | petr.viktorin | set | messageid: <1627055818.47.0.257235536178.issue41756@roundup.psfhosted.org> |
2021-07-23 15:56:58 | petr.viktorin | link | issue41756 messages |
2021-07-23 15:56:58 | petr.viktorin | create | |
|