diff options
author | axel <axel@liljencrantz.se> | 2006-06-17 23:07:08 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-06-17 23:07:08 +1000 |
commit | 07ff8a6c03e9c232a285e8b4ebc22f11ae5963d7 (patch) | |
tree | dee6963874a0c36ec40401211b6ea67784be2c7d /function.c | |
parent | 9f10dd377ee08f9142fb52db1506392610606250 (diff) |
Documentation updates. Fixes a few formating bugs, adds various minor missing api documentation, fixes a few typos. Also fixes a few tiny code issues, mostly missing consts, etc
darcs-hash:20060617130708-ac50b-cc2ec5aa3e4bfb8e28d7b86441bfb4661f1dd7e7.gz
Diffstat (limited to 'function.c')
-rw-r--r-- | function.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -36,9 +36,22 @@ typedef struct wchar_t *cmd; /** Function description */ wchar_t *desc; + /** + File where this function was defined + */ const wchar_t *definition_file; + /** + Line where definition started + */ int definition_offset; + /** + Flag for specifying functions which are actually key bindings + */ int is_binding; + + /** + Flag for specifying that this function was automatically loaded + */ int is_autoload; } function_data_t; @@ -47,6 +60,12 @@ typedef struct Table containing all functions */ static hash_table_t function; + +/** + Kludgy flag set by the load function in order to tell function_add + that the function being defined is autoloaded. There should be a + better way to do this... +*/ static int is_autoload = 0; /** |