![]() |
FJMovieEditor Pré-Alpha
A GTK video editor for GNOME. Designed for Artists to do, special effects, compositing and animation.
|
This structure represents a shared data. More...
#include <SharedDataSystem.h>
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) | |
iShared * | next |
What was added after this. | |
iShared * | prev |
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. |
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.
gpointer data |
This pointer points to the beginning of this structure (just to be compatible with GList)
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.
guint32 id |
An arbitrary number to identify a structure or a set.
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.
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.
gint32 timeout |
The duration of the data in memory.