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
7477e2e6
Commit
7477e2e6
authored
25 years ago
by
Henrik (Grubba) Grubbström
Browse files
Options
Downloads
Patches
Plain Diff
Added low_find_lfun().
FIND_LFUN() now uses low_find_lfun() as fallback. Rev: src/program.h:1.80
parent
abac4e2f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/program.h
+3
-2
3 additions, 2 deletions
src/program.h
with
3 additions
and
2 deletions
src/program.h
+
3
−
2
View file @
7477e2e6
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
\*/
\*/
/*
/*
* $Id: program.h,v 1.
79
2000/02/15 2
2:06:22 h
ubb
e
Exp $
* $Id: program.h,v 1.
80
2000/02/15 2
3:41:03 gr
ubb
a
Exp $
*/
*/
#ifndef PROGRAM_H
#ifndef PROGRAM_H
#define PROGRAM_H
#define PROGRAM_H
...
@@ -281,7 +281,7 @@ struct program
...
@@ -281,7 +281,7 @@ struct program
#define PROG_FROM_INT(P,X) PROG_FROM_PTR(P,(P)->identifier_references+(X))
#define PROG_FROM_INT(P,X) PROG_FROM_PTR(P,(P)->identifier_references+(X))
#define ID_FROM_INT(P,X) ID_FROM_PTR(P,(P)->identifier_references+(X))
#define ID_FROM_INT(P,X) ID_FROM_PTR(P,(P)->identifier_references+(X))
#define FIND_LFUN(P,N) ( dmalloc_touch(struct program *,(P))->flags & PROGRAM_FIXED?((P)->lfuns[(N)]):find_
identifier(lfun_names[(N)],(P
)) )
#define FIND_LFUN(P,N) ( dmalloc_touch(struct program *,(P))->flags & PROGRAM_FIXED?((P)->lfuns[(N)]):
low_
find_
lfun((P), (N
)) )
#define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!--_->refs) really_free_program(_); }while(0)
#define free_program(p) do{ struct program *_=(p); debug_malloc_touch(_); if(!--_->refs) really_free_program(_); }while(0)
...
@@ -412,6 +412,7 @@ INT32 define_function(struct pike_string *name,
...
@@ -412,6 +412,7 @@ INT32 define_function(struct pike_string *name,
int
really_low_find_shared_string_identifier
(
struct
pike_string
*
name
,
int
really_low_find_shared_string_identifier
(
struct
pike_string
*
name
,
struct
program
*
prog
,
struct
program
*
prog
,
int
flags
);
int
flags
);
int
low_find_lfun
(
struct
program
*
p
,
int
lfun
);
int
low_find_shared_string_identifier
(
struct
pike_string
*
name
,
int
low_find_shared_string_identifier
(
struct
pike_string
*
name
,
struct
program
*
prog
);
struct
program
*
prog
);
struct
ff_hash
;
struct
ff_hash
;
...
...
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