Mercurial > octave-nkf
comparison src/ov-usr-fcn.h @ 3255:4d33b1e56bff
[project @ 1999-07-15 20:54:14 by jwe]
author | jwe |
---|---|
date | Thu, 15 Jul 1999 20:54:34 +0000 |
parents | d54ef0aa6e82 |
children | 2efa28a91e7a |
comparison
equal
deleted
inserted
replaced
3254:28d5f556b8cf | 3255:4d33b1e56bff |
---|---|
65 | 65 |
66 octave_user_function *define_ret_list (tree_parameter_list *t); | 66 octave_user_function *define_ret_list (tree_parameter_list *t); |
67 | 67 |
68 void stash_fcn_file_name (void); | 68 void stash_fcn_file_name (void); |
69 | 69 |
70 void mark_fcn_file_up_to_date (time_t t) | 70 void mark_fcn_file_up_to_date (const octave_time& t) |
71 { t_checked = t; } | 71 { t_checked = t; } |
72 | 72 |
73 void stash_fcn_file_time (time_t t) | 73 void stash_fcn_file_time (const octave_time& t) |
74 { | 74 { |
75 t_parsed = t; | 75 t_parsed = t; |
76 mark_fcn_file_up_to_date (t); | 76 mark_fcn_file_up_to_date (t); |
77 } | 77 } |
78 | 78 |
80 { symtab_entry = sr; } | 80 { symtab_entry = sr; } |
81 | 81 |
82 string fcn_file_name (void) const | 82 string fcn_file_name (void) const |
83 { return file_name; } | 83 { return file_name; } |
84 | 84 |
85 time_t time_parsed (void) const | 85 octave_time time_parsed (void) const |
86 { return t_parsed; } | 86 { return t_parsed; } |
87 | 87 |
88 time_t time_checked (void) const | 88 octave_time time_checked (void) const |
89 { return t_checked; } | 89 { return t_checked; } |
90 | 90 |
91 void mark_as_system_fcn_file (void); | 91 void mark_as_system_fcn_file (void); |
92 | 92 |
93 bool is_system_fcn_file (void) const | 93 bool is_system_fcn_file (void) const |
150 | 150 |
151 // The name of the function. | 151 // The name of the function. |
152 string fcn_name; | 152 string fcn_name; |
153 | 153 |
154 // The time the file was parsed. | 154 // The time the file was parsed. |
155 time_t t_parsed; | 155 octave_time t_parsed; |
156 | 156 |
157 // The time the file was last checked to see if it needs to be | 157 // The time the file was last checked to see if it needs to be |
158 // parsed again. | 158 // parsed again. |
159 time_t t_checked; | 159 octave_time t_checked; |
160 | 160 |
161 // True if this function came from a file that is considered to be a | 161 // True if this function came from a file that is considered to be a |
162 // system function. This affects whether we check the time stamp | 162 // system function. This affects whether we check the time stamp |
163 // on the file to see if it has changed. | 163 // on the file to see if it has changed. |
164 bool system_fcn_file; | 164 bool system_fcn_file; |