summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-15 08:45:40 +0800
committerꦌꦫꦶꦏ꧀ꦦꦿꦧꦮꦑꦩꦭ꧀ <erik@darapsa.co.id>2022-09-15 08:45:40 +0800
commitdacf25e962238c679c69b77a915689cdf72416d5 (patch)
treec22495931a068aa08743218d6deb8baec3e1e969 /Makefile.am
parenta631d884fcccdcdf826f1a6e5a4db22237b398c1 (diff)
Generalise the struct comparison
Both structs have char * as their first elements. Pointers to the structs are pointers to each of their first elements. (https://beej.us/guide/bgc/html/split/structs-ii-more-fun-with-structs.html#fake-oop) So, they would be char ** (not char *, as they're pointers to char *). We then take the objects they point to, to get char *, so that we can compare them with strcmp.
Diffstat (limited to 'Makefile.am')
0 files changed, 0 insertions, 0 deletions