~runxiyu/cca#5: 
Configuration handling

We currently populate a struct of pointers with scfg, then dereference all those pointers to populate a struct of values. This works for now, but users who have missing configuration options just receive a segmentation fault due to the null pointer dereference, which is not ideal.

Status
REPORTED
Submitter
~runxiyu
Assigned to
No-one
Submitted
3 months ago
Updated
a month ago
Labels
enhancement

~runxiyu REPORTED IMPLEMENTED 3 months ago

Runxi Yu referenced this ticket in commit 90220ad.

~runxiyu IMPLEMENTED REPORTED 3 months ago

~runxiyu a month ago

We're checking them and failing gracefully now but there's a lot of repetitive code. It'd be nice to use reflection for this.

Register here or Log in to comment, or comment via email.