Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
b54b3fb0
Commit
b54b3fb0
authored
May 06, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(OBJC_GEN_METHOD_LABEL): Do use CAT_NAME.
From-SVN: r4364
parent
8a2648ca
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
gcc/objc/objc-act.c
+10
-9
No files found.
gcc/objc/objc-act.c
View file @
b54b3fb0
...
@@ -52,15 +52,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
...
@@ -52,15 +52,16 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
Perhaps there's a danger that it will make name conflicts
Perhaps there's a danger that it will make name conflicts
if method names contain underscores. -- rms. */
if method names contain underscores. -- rms. */
#ifndef OBJC_GEN_METHOD_LABEL
#ifndef OBJC_GEN_METHOD_LABEL
#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), \
(SEL_NAME)); \
((CAT_NAME)? (CAT_NAME) : ""), \
for (temp = (BUF); *temp; temp++) \
(SEL_NAME)); \
if (*temp == ':') *temp = '_'; \
for (temp = (BUF); *temp; temp++) \
if (*temp == ':') *temp = '_'; \
} while (0)
} while (0)
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment