Mercurial > hg > octave-lyh
comparison src/ov-usr-fcn.h @ 3165:e4bbfc196e53
[project @ 1998-04-16 03:01:47 by jwe]
author | jwe |
---|---|
date | Thu, 16 Apr 1998 03:05:03 +0000 |
parents | ebbc34ff7f66 |
children | 30770ba4457a |
comparison
equal
deleted
inserted
replaced
3164:45490c020e47 | 3165:e4bbfc196e53 |
---|---|
71 | 71 |
72 octave_user_function *define_ret_list (tree_parameter_list *t); | 72 octave_user_function *define_ret_list (tree_parameter_list *t); |
73 | 73 |
74 void stash_fcn_file_name (void); | 74 void stash_fcn_file_name (void); |
75 | 75 |
76 void mark_fcn_file_up_to_date (time_t t) | |
77 { t_checked = t; } | |
78 | |
76 void stash_fcn_file_time (time_t t) | 79 void stash_fcn_file_time (time_t t) |
77 { t_parsed = t; } | 80 { |
81 t_parsed = t; | |
82 mark_fcn_file_up_to_date (t); | |
83 } | |
78 | 84 |
79 void stash_symtab_ptr (symbol_record *sr) | 85 void stash_symtab_ptr (symbol_record *sr) |
80 { symtab_entry = sr; } | 86 { symtab_entry = sr; } |
81 | 87 |
82 string fcn_file_name (void) const | 88 string fcn_file_name (void) const |
83 { return file_name; } | 89 { return file_name; } |
84 | 90 |
85 time_t time_parsed (void) const | 91 time_t time_parsed (void) const |
86 { return t_parsed; } | 92 { return t_parsed; } |
93 | |
94 time_t time_checked (void) const | |
95 { return t_checked; } | |
87 | 96 |
88 void mark_as_system_fcn_file (void); | 97 void mark_as_system_fcn_file (void); |
89 | 98 |
90 bool is_system_fcn_file (void) const | 99 bool is_system_fcn_file (void) const |
91 { return system_fcn_file; } | 100 { return system_fcn_file; } |
154 // The name of the function. | 163 // The name of the function. |
155 string fcn_name; | 164 string fcn_name; |
156 | 165 |
157 // The time the file was parsed. | 166 // The time the file was parsed. |
158 time_t t_parsed; | 167 time_t t_parsed; |
168 | |
169 // The time the file was last checked to see if it needs to be | |
170 // parsed again. | |
171 time_t t_checked; | |
159 | 172 |
160 // True if this function came from a file that is considered to be a | 173 // True if this function came from a file that is considered to be a |
161 // system function. This affects whether we check the time stamp | 174 // system function. This affects whether we check the time stamp |
162 // on the file to see if it has changed. | 175 // on the file to see if it has changed. |
163 bool system_fcn_file; | 176 bool system_fcn_file; |