On 07/21/14 15:33, Dimitry Sibiryakov wrote: > 21.07.2014 13:10, Alex Peshkoff wrote: >> In C pointers to different data types differ > This macro/function can work with only one pointer type - char*. All > other pointers > here will produce wrong computations and thus have to be casted to char* > beforehand. >
With (slightly) changed body it can work with any pointer type. ------------------------------------------------------------------------------ Want fast and easy access to all the code in your enterprise? Index and search up to 200,000 lines of code with a free copy of Black Duck Code Sight - the same software that powers the world's largest code search on Ohloh, the Black Duck Open Hub! Try it now. http://p.sf.net/sfu/bds Firebird-Devel mailing list, web interface at https://lists.sourceforge.net/lists/listinfo/firebird-devel
