Commit b54b3fb0 by Richard Stallman

(OBJC_GEN_METHOD_LABEL): Do use CAT_NAME.

From-SVN: r4364
parent 8a2648ca
...@@ -55,9 +55,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ ...@@ -55,9 +55,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
#define OBJC_GEN_METHOD_LABEL(BUF, IS_INST, CLASS_NAME, CAT_NAME, SEL_NAME, NUM) \ #define OBJC_GEN_METHOD_LABEL(BUF, IS_INST, CLASS_NAME, CAT_NAME, SEL_NAME, NUM) \
do { \ do { \
char *temp; \ char *temp; \
sprintf ((BUF), "_%s_%s_%s", \ sprintf ((BUF), "_%s_%s_%s_%s", \
((IS_INST) ? "i" : "c"), \ ((IS_INST) ? "i" : "c"), \
(CLASS_NAME), \ (CLASS_NAME), \
((CAT_NAME)? (CAT_NAME) : ""), \
(SEL_NAME)); \ (SEL_NAME)); \
for (temp = (BUF); *temp; temp++) \ for (temp = (BUF); *temp; temp++) \
if (*temp == ':') *temp = '_'; \ if (*temp == ':') *temp = '_'; \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment