libgeda

o_embed.c File Reference

functions to embed and unembed symbols More...

#include <config.h>
#include <stdio.h>
#include "libgeda_priv.h"
Include dependency graph for o_embed.c:

Go to the source code of this file.

Functions

void o_embed (TOPLEVEL *toplevel, OBJECT *o_current)
 embed an object into a schematic
void o_unembed (TOPLEVEL *toplevel, OBJECT *o_current)
 unembed an object from a schematic

Detailed Description

Definition in file o_embed.c.


Function Documentation

void o_embed ( TOPLEVEL toplevel,
OBJECT o_current 
)
Function Description
This functions embeds an object o_current into a libgeda. Currently complex objects are just marked to be embedded later. Picture objects are embedded immediatly.
Parameters:
toplevelThe TOPLEVEL object
o_currentThe OBJECT to embed

Definition at line 45 of file o_embed.c.

Here is the call graph for this function:

void o_unembed ( TOPLEVEL toplevel,
OBJECT o_current 
)
Function Description
This functions unembeds an object o_current from a libgeda structure. Complex objects are just marked to be not embedded. Picture objects are unembeded immediatly.
Parameters:
toplevelThe TOPLEVEL object
o_currentThe OBJECT to unembed

Definition at line 86 of file o_embed.c.

Here is the call graph for this function:

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines