FJMovieEditor Pré-Alpha
A GTK video editor for GNOME. Designed for Artists to do, special effects, compositing and animation.

iShared Struct Reference

This structure represents a shared data. More...

#include <SharedDataSystem.h>

Collaboration diagram for iShared:

Data Fields

gint32 timeout
 The duration of the data in memory.
gpointer data
 This pointer points to the beginning of this structure (just to be compatible with GList)
iSharednext
 What was added after this.
iSharedprev
 What was previously added.
gchar * name
 The name of the pointer.
gpointer p
 The pointer to the shared data.
iSharedCallable delete
 Custom shape, releasing memory.
guint32 id
 An arbitrary number to identify a structure or a set.

Detailed Description

This structure represents a shared data.

This structure, the data necessary for a named pointer, which can be accessed from anywhere in the program. This structure is in the list of structures, structure cmain (Main *) The "shared_data_add," adds a pointer to this structure.

Author:
Fabio J. Gonzalez
Precondition:
You may want to adjust the functions "allocator" and "delete", to specify the code, adding and deleting pointers.

Field Documentation

gpointer data

This pointer points to the beginning of this structure (just to be compatible with GList)

Author:
Fabio J. Gonzalez

Custom shape, releasing memory.

If you take more memory, besides the, head pointer. Then you can create this function to delete them manually. After calling this function, which is supposed to delete the sub pointers, the biggest pointer is deleted using g_free (by shared_data_delete). prevents this.

Author:
Fabio J. Gonzalez
guint32 id

An arbitrary number to identify a structure or a set.

Author:
Fabio J. Gonzalez
gchar* name

The name of the pointer.

This name is defined in the creation of the pointer. It can be used to obtain the pointer to the desired information. As also looking for a pointer to deletion. On list of all shared data, it is not repeated. The function "shared_data_add" prevents this.

Author:
Fabio J. Gonzalez

What was added after this.

Author:
Fabio J. Gonzalez
gpointer p

The pointer to the shared data.

This pointer also is not repeated. It is adjusted by the "shared_data_add". This pointer can refer to any part of, has already allocated memory. prevents this.

Author:
Fabio J. Gonzalez

What was previously added.

Author:
Fabio J. Gonzalez
gint32 timeout

The duration of the data in memory.

Author:
Fabio J. Gonzalez

The documentation for this struct was generated from the following file:
All Data Structures Files Functions Variables Typedefs Defines