diff options
author | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2013-07-02 20:52:25 -0400 |
---|---|---|
committer | Andrew J. Schorr <aschorr@telemetry-investments.com> | 2013-07-02 20:52:25 -0400 |
commit | d8bd9f5261761dd4ffca331d9c6055c48a0a332b (patch) | |
tree | 35815f20253c23df4bca3415dae81f3dd6df5846 /gawkapi.h | |
parent | 9ee8aeb59ad3b3873d52f3c9a2ab80b28c4c2c20 (diff) | |
download | egawk-d8bd9f5261761dd4ffca331d9c6055c48a0a332b.tar.gz egawk-d8bd9f5261761dd4ffca331d9c6055c48a0a332b.tar.bz2 egawk-d8bd9f5261761dd4ffca331d9c6055c48a0a332b.zip |
Remove unused api_lookup_file hook.
Diffstat (limited to 'gawkapi.h')
-rw-r--r-- | gawkapi.h | 13 |
1 files changed, 1 insertions, 12 deletions
@@ -667,15 +667,7 @@ typedef struct gawk_api { awk_flat_array_t *data); /* - * Look up a currently open file. If the name is NULL, it returns - * data for the currently open input file corresponding to FILENAME. - * If the file is not found, it returns NULL. - */ - const awk_input_buf_t *(*api_lookup_file)(awk_ext_id_t id, - const char *name, - size_t name_len); - /* - * Look up a file. If the name is NULL, it returns + * Look up a file. If the name is NULL or name_len is 0, it returns * data for the currently open input file corresponding to FILENAME. * If the file is not already open, it tries to open it. * The "filetype" argument should be one of: @@ -763,9 +755,6 @@ typedef struct gawk_api { #define release_value(value) \ (api->api_release_value(ext_id, value)) -#define lookup_file(name, namelen) \ - (api->api_lookup_file(ext_id, name, namelen)) - #define get_file(name, namelen, filetype, typelen) \ (api->api_get_file(ext_id, name, namelen, filetype, typelen)) |