Hello guys!
I'm creating a C project where I have a list of files like:
Script.c
tokenizer.h
tokenizer.c
In tonkenizer.h I have all prototypes of funcions used in tokenizer.c and a TToken struct declaration.
My problem is that I need to use TToken structure in Script.c and in tokenizer.c but if I include tokenizer.h in Script.c it will include all tokenizer.c prototype function too and I will get an error.
What's the best and clean solution for this issue?
Thanks in advance!