Make everything an op #39
Conversation
update get to take a const void* paramater add set function pointer add const void *data
This comment has been minimized.
This comment has been minimized.
|
Maybe more descriptive field names here? |
This comment has been minimized.
This comment has been minimized.
|
Will there be more types here? I'd be inclined to name it something like |
This comment has been minimized.
This comment has been minimized.
|
I realize of course, that I'm jumping in mid stream so feel free to ignore... And in which case, pardon the distraction! :) |
remove value from the set function pointer, it won't work
This comment has been minimized.
This comment has been minimized.
|
Do we have
... on second thought maybe not and perhaps not idiomatic C besides! |
This comment has been minimized.
This comment has been minimized.
|
More (rookie) questions about idiomatic C: why not |
This comment has been minimized.
This comment has been minimized.
|
No reason, I'll probably change it! |
This comment has been minimized.
This comment has been minimized.
|
|
This comment has been minimized.
This comment has been minimized.
|
Yes..., but that line is really just pre-existing code duplicated. I didn't want to change that just yet. At some point all of the pattern ops need a tidy up. |
Lots of changes here, the main result being all keys, arrays and variables have been converted to ops.