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
This commit is contained in:
axel
2006-06-17 23:07:08 +10:00
parent 9f10dd377e
commit 07ff8a6c03
19 changed files with 222 additions and 34 deletions

View File

@@ -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;
/**