mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
Correct all instances of scm_t_c_hookype_t to scm_t_c_hook_type.
This commit is contained in:
parent
d6b977a640
commit
b9dfb68494
3 changed files with 9 additions and 6 deletions
|
@ -56,11 +56,11 @@
|
|||
* both may want to indicate success/failure and return a result.
|
||||
*/
|
||||
|
||||
typedef enum scm_t_c_hookype_t {
|
||||
typedef enum scm_t_c_hook_type {
|
||||
SCM_C_HOOK_NORMAL,
|
||||
SCM_C_HOOK_OR,
|
||||
SCM_C_HOOK_AND
|
||||
} scm_t_c_hookype_t;
|
||||
} scm_t_c_hook_type;
|
||||
|
||||
typedef void *(*scm_t_c_hook_function) (void *hook_data,
|
||||
void *func_data,
|
||||
|
@ -74,13 +74,13 @@ typedef struct scm_t_c_hook_entry {
|
|||
|
||||
typedef struct scm_t_c_hook {
|
||||
scm_t_c_hook_entry *first;
|
||||
scm_t_c_hookype_t type;
|
||||
scm_t_c_hook_type type;
|
||||
void *data;
|
||||
} scm_t_c_hook;
|
||||
|
||||
extern void scm_c_hook_init (scm_t_c_hook *hook,
|
||||
void *hook_data,
|
||||
scm_t_c_hookype_t type);
|
||||
scm_t_c_hook_type type);
|
||||
extern void scm_c_hook_add (scm_t_c_hook *hook,
|
||||
scm_t_c_hook_function func,
|
||||
void *func_data,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue