1. Can handles and non-handles be attached to handles without the usage of a struct to reference them collectively (say, if you only have one variable to attach to a periodic timer)? Is there a difference between attaching a variable directly and attaching a struct instead with a reference to that variable?
2. Since most of the time I'll be dealing with attached structs, can a universal struct (integer) attachment function be created and used everywhere instead of using multiple use-specific functions? Are there any merits to creating multiple specific functions, besides readability?
Thanks.
I'll use this thread if I have any more in future.
2. Since most of the time I'll be dealing with attached structs, can a universal struct (integer) attachment function be created and used everywhere instead of using multiple use-specific functions? Are there any merits to creating multiple specific functions, besides readability?
Thanks.
I'll use this thread if I have any more in future.