ctl: where is the byte_queue code?
I am looking for ctl_byte_queue_init() and related functions. I have my editor set up so I can jump to those functions when needed except that doesn't work for any of the byte_queue functions. Looking through all the files, I discover that I don't have a *.c file that corresponds to the the byte_queue functions that are in the ctl.h header. Was this inadvertently left out of the distribution?
-
Ah, I see it. Thank you. Clever. ctl_byte_queue_init() is coming from:
#define QUEUE_FN(n) ctl_byte_queue_##n
void QUEUE_FN(init) (...)
where a macro has been defined that says to build a byte_queue. Neat. Except my ctags can't resolve that. No matter, that is what I was looking for. Thanks again!
Please sign in to leave a comment.
Comments
2 comments