Skip to content

[eppp]: Use C++ traits to control netif predicate type changes#1000

Open
david-cermak wants to merge 1 commit intoespressif:masterfrom
david-cermak:fix/eppp_netif_predicate
Open

[eppp]: Use C++ traits to control netif predicate type changes#1000
david-cermak wants to merge 1 commit intoespressif:masterfrom
david-cermak:fix/eppp_netif_predicate

Conversation

@david-cermak
Copy link
Collaborator

Preparation for IDF change:

-typedef bool (*esp_netif_find_predicate_t)(esp_netif_t *netif, void *ctx);
+typedef bool (*esp_netif_find_predicate_t)(esp_netif_t *netif, const void *ctx);

Using C++ type traits for fine grained control of specific arguments (which are allowed and which are not)

@david-cermak david-cermak self-assigned this Feb 3, 2026
@david-cermak david-cermak force-pushed the fix/eppp_netif_predicate branch 2 times, most recently from 17f813a to db57b09 Compare February 3, 2026 13:45
@david-cermak david-cermak force-pushed the fix/eppp_netif_predicate branch from db57b09 to 3f550b9 Compare February 3, 2026 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant