35 lines
2.4 KiB
XML
35 lines
2.4 KiB
XML
|
<?xml version='1.0' encoding='UTF-8' standalone='no'?>
|
||
|
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xlink="http://www.w3.org/1999/xlink" xml:id="_structStack" xml:lang="en-US">
|
||
|
<title>Stack Struct Reference</title>
|
||
|
<indexterm><primary>Stack</primary></indexterm>
|
||
|
<para>
|
||
|
|
||
|
<para>struct images_bff {GtkWidget *arr[MAX_SIZE]; int top;}; static struct images_bff *my_list = NULL;//, *babar = NULL; static struct images_bff *alloc_images_bff () { struct images_bff *p; p = malloc (sizeof (struct images_bff)); if (p == NULL) printf ("fatal: ran out of storage"); p->arr[MAX_SIZE] = NULL; p->top = 0; return p; } static void add_to_mylist (int my_int) { struct images_bff *p = alloc_images_bff (); p->arr[MAX_SIZE] = NULL; // TODO p->top = my_int; my_list = p; } static void free_intlist (struct images_bff *p) { TODO } TODO free_intlist (mylist); TODO mylist = NULL; TODO offsetof (type, field) </para>
|
||
|
|
||
|
</para>
|
||
|
<simplesect>
|
||
|
<title>Public Attributes </title>
|
||
|
<itemizedlist>
|
||
|
<listitem><para><anchor xml:id="_structStack_1a9c232ff5046f7d60a7ec923326775590"/>GtkWidget * <emphasis role="strong">arr</emphasis> [MAX_SIZE]</para>
|
||
|
|
||
|
<para>*arr[MAX_SIZE] phantom documentation </para>
|
||
|
</listitem>
|
||
|
<listitem><para><anchor xml:id="_structStack_1ad62fb36816185f3eef3a6f735a61f54a"/>int <emphasis role="strong">top</emphasis></para>
|
||
|
|
||
|
<para>top phantom documentation </para>
|
||
|
</listitem>
|
||
|
</itemizedlist>
|
||
|
</simplesect>
|
||
|
<section>
|
||
|
<title>Detailed Description</title>
|
||
|
|
||
|
<para>struct images_bff {GtkWidget *arr[MAX_SIZE]; int top;}; static struct images_bff *my_list = NULL;//, *babar = NULL; static struct images_bff *alloc_images_bff () { struct images_bff *p; p = malloc (sizeof (struct images_bff)); if (p == NULL) printf ("fatal: ran out of storage"); p->arr[MAX_SIZE] = NULL; p->top = 0; return p; } static void add_to_mylist (int my_int) { struct images_bff *p = alloc_images_bff (); p->arr[MAX_SIZE] = NULL; // TODO p->top = my_int; my_list = p; } static void free_intlist (struct images_bff *p) { TODO } TODO free_intlist (mylist); TODO mylist = NULL; TODO offsetof (type, field) </para>
|
||
|
|
||
|
|
||
|
|
||
|
<para>phantom documentation used to test the functioning of doxygen </para>
|
||
|
<para>
|
||
|
The documentation for this struct was generated from the following file:</para>
|
||
|
src/widget/all_rules/compare/interest.c</section>
|
||
|
</section>
|