Quote:Original post by Gage64Yeah I forgot you can't do overloading in C. Thanks for reminding me ;)
Maybe C99 supports function overloading, but AFAIK most compilers don't support C99 so relying on it is probably not a good idea.
Manual overloading (putting ELEMENT_TYPE into the func name) it is then.