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
In order to track what was discussed in #78 I open this issue tracker.
@wjwwood suggested that in the future it might become necessary/useful to implement functions in the style rcl_x_is_valid .
An example would be: bool rcl_service_is_valid(rcl_service_t * service) which would check if this service is valid. (Perhaps check if it's not null, check if it was initialized, and so on)
Actually, after further investigation, I'm now thinking they should be implemented in several different header files (bool rcl_service_is_valid(const rcl_service_t * service) should be in service.h, and similar).
Alternatively, I suppose I could put them in a check.h header, but I'll implement them in the above fashion in the meantime.
Activity
wjwwood commentedon Sep 23, 2016
Thanks!
allenh1 commentedon Dec 23, 2016
@tfoote Is this the kind of thing I could work on?
tfoote commentedon Dec 23, 2016
Yeah, We've tagged several issues "help wanted" or also "unclaimed" that you could look into.
There are many more, but we tried to pick out some good places for people to get involved.
allenh1 commentedon Dec 24, 2016
Well I'll start implementing this, then!
allenh1 commentedon Dec 26, 2016
For now, I'm putting these in the
rcl.hheader -- is this appropriate?allenh1 commentedon Dec 26, 2016
Actually, after further investigation, I'm now thinking they should be implemented in several different header files (
bool rcl_service_is_valid(const rcl_service_t * service)should be inservice.h, and similar).Alternatively, I suppose I could put them in a
check.hheader, but I'll implement them in the above fashion in the meantime.First attempt: c5c6d7d
wjwwood commentedon Dec 27, 2016
Putting them in the same header with the type you're checking seems appropriate to me.
Logging autoinit fixup; add RCUTILS_WARN_UNUSED to logging functions (r…
Merge pull request #81 from esteve/honor-build-shared-libs