I would need to create a temporary copy of a requirement struct. With the current content it would be possible to just assign (or memcpy() ) the content, but in case that's not going to work in the future (e.g. pointers contained in the struct) I think it's better to introduce req_copy() function for this.
I would need to create a temporary copy of a requirement struct. With the current content it would be possible to just assign (or memcpy() ) the content, but in case that's not going to work in the future (e.g. pointers contained in the struct) I think it's better to introduce req_copy() function for this.