diff options
Diffstat (limited to 'ctrl/facemgr/src/facelet.c')
-rw-r--r-- | ctrl/facemgr/src/facelet.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ctrl/facemgr/src/facelet.c b/ctrl/facemgr/src/facelet.c index 8a3074d2a..def901ff3 100644 --- a/ctrl/facemgr/src/facelet.c +++ b/ctrl/facemgr/src/facelet.c @@ -518,6 +518,11 @@ facelet_set_ ## NAME(facelet_t * facelet, TYPE NAME) return facelet_set_local_ ## NAME(facelet, NAME); \ } \ \ +int \ +facelet_unset_ ## NAME(facelet_t * facelet) \ +{ \ + return facelet->NAME ## _status = FACELET_ATTR_STATUS_UNSET; \ +} #define _(TYPE, NAME) FACELET_ACCESSORS(TYPE, NAME) foreach_facelet_attr @@ -779,6 +784,13 @@ facelet_set_bj_done(facelet_t * facelet) facelet->bj_done = true; } +void +facelet_unset_bj_done(facelet_t * facelet) +{ + facelet->bj_done = false; +} + + bool facelet_is_bj_done(const facelet_t * facelet) { |