Enum <-> string name lookup functions

Registered by Paul "LeoNerd" Evans

Extend the pattern suggested by the pen attribute name lookup functions into termctl and the newly-proposed winctl.
Useful for HLLs to create extensible bindings.

Precedent in

    const char *tickit_pen_attrname(TickitPenAttr attr);
    TickitPenAttr tickit_pen_lookup_attr(const char *name);

Blueprint information

Status:
Complete
Approver:
Paul "LeoNerd" Evans
Priority:
Medium
Drafter:
Paul "LeoNerd" Evans
Direction:
Approved
Assignee:
None
Definition:
Approved
Series goal:
Accepted for trunk
Implementation:
Implemented
Milestone target:
milestone icon v0.2
Started by
Paul "LeoNerd" Evans
Completed by
Paul "LeoNerd" Evans

Related branches

Sprints

Whiteboard

549: Paul "LeoNerd" Evans 2017-11-30 Added tickit_term_{ctlname,lookup_ctl}

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.