mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
* gc.c (mark_gc_async): Change "func_data" to "fn_data", to avoid
clash with AIX header file. * hooks.c (scm_c_hook_add, scm_c_hook_remove): Same again. * hooks.h (scm_t_c_hook_function, scm_c_hook_add, scm_c_hook_remove): Same again.
This commit is contained in:
parent
70a4404429
commit
5c004b6d6a
4 changed files with 16 additions and 8 deletions
|
@ -40,7 +40,7 @@ typedef enum scm_t_c_hook_type {
|
|||
} scm_t_c_hook_type;
|
||||
|
||||
typedef void *(*scm_t_c_hook_function) (void *hook_data,
|
||||
void *func_data,
|
||||
void *fn_data,
|
||||
void *data);
|
||||
|
||||
typedef struct scm_t_c_hook_entry {
|
||||
|
@ -60,11 +60,11 @@ SCM_API void scm_c_hook_init (scm_t_c_hook *hook,
|
|||
scm_t_c_hook_type type);
|
||||
SCM_API void scm_c_hook_add (scm_t_c_hook *hook,
|
||||
scm_t_c_hook_function func,
|
||||
void *func_data,
|
||||
void *fn_data,
|
||||
int appendp);
|
||||
SCM_API void scm_c_hook_remove (scm_t_c_hook *hook,
|
||||
scm_t_c_hook_function func,
|
||||
void *func_data);
|
||||
void *fn_data);
|
||||
SCM_API void *scm_c_hook_run (scm_t_c_hook *hook, void *data);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue