Mercurial > pidgin
comparison src/util.h @ 8433:964d42c74ff7
[gaim-migrate @ 9163]
i like this better....what if I want to add 8 to something other than an int!
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Fri, 12 Mar 2004 05:01:20 +0000 |
parents | 33cc36f5a7a6 |
children | 3d0178c4f390 |
comparison
equal
deleted
inserted
replaced
8432:33cc36f5a7a6 | 8433:964d42c74ff7 |
---|---|
602 /** | 602 /** |
603 * Adds 8 to something. | 603 * Adds 8 to something. |
604 * | 604 * |
605 * Blame SimGuy. | 605 * Blame SimGuy. |
606 * | 606 * |
607 * @param i The integer to add 8 to. | 607 * @param i The number to add 8 to. |
608 * | 608 * |
609 * @return i + 8 | 609 * @return i + 8 |
610 */ | 610 */ |
611 int gaim_add_eight(int i); | 611 #define gaim_add_eight(x) ((x)+8) |
612 | 612 |
613 #ifdef __cplusplus | 613 #ifdef __cplusplus |
614 } | 614 } |
615 #endif | 615 #endif |
616 | 616 |