#include <X11/Intrinsic.h>#include <X11/Xfuncproto.h>Include dependency graph for Initer.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.
Typedefs | |
| typedef void(*) | XmuInitializerProc (XtAppContext app_context, XPointer data) |
Functions | |
| _XFUNCPROTOBEGIN void | XmuCallInitializers (XtAppContext app_context) |
| void | XmuAddInitializer (XmuInitializerProc func, XPointer data) |
| typedef void(*) XmuInitializerProc(XtAppContext app_context, XPointer data) |
| void XmuAddInitializer | ( | XmuInitializerProc | func, | |
| XPointer | data | |||
| ) |
Definition at line 53 of file Initer.c.
References InitializerList::function, init_list, init_list_length, and NULL.
00054 { 00055 init_list_length++; 00056 init_list = (struct InitializerList *) XtRealloc( (char *) init_list, 00057 (sizeof(struct InitializerList) * 00058 init_list_length) ); 00059 00060 init_list[init_list_length - 1].function = func; 00061 init_list[init_list_length - 1].data = data; 00062 init_list[init_list_length - 1].app_con_list = NULL; 00063 }
| _XFUNCPROTOBEGIN void XmuCallInitializers | ( | XtAppContext | app_context | ) |
Definition at line 66 of file Initer.c.
References AddToAppconList(), InitializerList::app_con_list, data, i, init_list, and init_list_length.
Referenced by Initialize(), and XawSimpleMenuAddGlobalActions().
00067 { 00068 unsigned i; 00069 00070 for (i = 0 ; i < init_list_length ; i++) { 00071 if (AddToAppconList(&(init_list[i].app_con_list), app_con)) 00072 (init_list[i].function) (app_con, init_list[i].data); 00073 } 00074 }
Here is the call graph for this function:

Here is the caller graph for this function:

1.5.1