Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pike
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pikelang
pike
Commits
d080fb3e
Commit
d080fb3e
authored
24 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Bugfix for ecl.
Rev: src/interpret.h:1.60
parent
8269b614
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/interpret.h
+22
-19
22 additions, 19 deletions
src/interpret.h
with
22 additions
and
19 deletions
src/interpret.h
+
22
−
19
View file @
d080fb3e
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
\*/
\*/
/*
/*
* $Id: interpret.h,v 1.
59
2000/08/07 1
6:02:47
grubba Exp $
* $Id: interpret.h,v 1.
60
2000/08/07 1
8:53:20
grubba Exp $
*/
*/
#ifndef INTERPRET_H
#ifndef INTERPRET_H
#define INTERPRET_H
#define INTERPRET_H
...
@@ -174,24 +174,6 @@ enum apply_type
...
@@ -174,24 +174,6 @@ enum apply_type
APPLY_LOW
/* arg1 is the object pointer,(int)arg2 the function */
APPLY_LOW
/* arg1 is the object pointer,(int)arg2 the function */
};
};
#ifdef __ECL
static
inline
void
apply_low
(
struct
object
*
o
,
ptrdiff_t
fun
,
INT32
args
)
{
mega_apply
(
APPLY_LOW
,
args
,
(
void
*
)
o
,
(
void
*
)
fun
);
}
static
inline
void
strict_apply_svalue
(
struct
svalue
*
sval
,
INT32
args
)
{
mega_apply
(
APPLY_SVALUE
,
args
,
(
void
*
)
sval
,
0
);
}
#else
/* !__ECL */
#define apply_low(O,FUN,ARGS) \
mega_apply(APPLY_LOW, (ARGS), (void*)(O),(void*)(FUN))
#define strict_apply_svalue(SVAL,ARGS) \
mega_apply(APPLY_SVALUE, (ARGS), (void*)(SVAL),0)
#endif
/* __ECL */
#define APPLY_MASTER(FUN,ARGS) \
#define APPLY_MASTER(FUN,ARGS) \
do{ \
do{ \
static int fun_,master_cnt=0; \
static int fun_,master_cnt=0; \
...
@@ -258,6 +240,27 @@ void cleanup_interpret(void);
...
@@ -258,6 +240,27 @@ void cleanup_interpret(void);
void
really_clean_up_interpret
(
void
);
void
really_clean_up_interpret
(
void
);
/* Prototypes end here */
/* Prototypes end here */
/* These need to be after the prototypes,
* to avoid implicit declaration of mega_apply().
*/
#ifdef __ECL
static
inline
void
apply_low
(
struct
object
*
o
,
ptrdiff_t
fun
,
INT32
args
)
{
mega_apply
(
APPLY_LOW
,
args
,
(
void
*
)
o
,
(
void
*
)
fun
);
}
static
inline
void
strict_apply_svalue
(
struct
svalue
*
sval
,
INT32
args
)
{
mega_apply
(
APPLY_SVALUE
,
args
,
(
void
*
)
sval
,
0
);
}
#else
/* !__ECL */
#define apply_low(O,FUN,ARGS) \
mega_apply(APPLY_LOW, (ARGS), (void*)(O),(void*)(FUN))
#define strict_apply_svalue(SVAL,ARGS) \
mega_apply(APPLY_SVALUE, (ARGS), (void*)(SVAL),0)
#endif
/* __ECL */
PMOD_EXPORT
extern
int
d_flag
;
/* really in main.c */
PMOD_EXPORT
extern
int
d_flag
;
/* really in main.c */
PMOD_EXPORT
extern
int
Pike_stack_size
;
PMOD_EXPORT
extern
int
Pike_stack_size
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment