/*
 * tools.h
 *
 *  Created on: May 4, 2011
 *      Author: wozniak
 */

#ifndef TOOLS_H
#define TOOLS_H

/**
   Determine the length of an array of pointers
 */
int array_length(void** array);

#define append(string, args...) string += sprintf(string, ## args)

#endif /* TOOLS_H_ */

/*
 * tools.h
 *
 *  Created on: May 4, 2011
 *      Author: wozniak
 */

#ifndef TOOLS_H
#define TOOLS_H

/**
   Determine the length of an array of pointers
 */
int array_length(void** array);

#define append(string,  args...) string += sprintf(string, ## args)
#define vappend(string, args...) string += vsprintf(string, ## args)

#endif

Check in new macro vappend()- not actually used
Check in new macro vappend()- not actually used


git-svn-id: 4403cc1077de9de61ebbb06aa07b0a825c555f62@1737 dc4e9af1-7f46-4ead-bba6-71afc04862de
