You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to be no function or standard way to do it (sorry if I missed something obvious). Looking at *_find's implementation, I tried to replicate it, but it caused segfaults (I didn't dived too much into it fearing I might be doing completely wrong thing here, and I am not familiar with the design of this particular hash table implementation).
So my suggestion: something like a void *_map(void (*f)(VALUE value)) function could work out great in such scenarios.
Thank you. Have a nice day!
The text was updated successfully, but these errors were encountered:
Hello,
There seems to be no function or standard way to do it (sorry if I missed something obvious). Looking at *_find's implementation, I tried to replicate it, but it caused segfaults (I didn't dived too much into it fearing I might be doing completely wrong thing here, and I am not familiar with the design of this particular hash table implementation).
So my suggestion: something like a
void *_map(void (*f)(VALUE value))
function could work out great in such scenarios.Thank you. Have a nice day!
The text was updated successfully, but these errors were encountered: