![]() |
![]() |
![]() |
cpg-network Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#define CPG_IMPORT_ALIAS_CONST (obj)
struct CpgImportAlias;
struct CpgImportAliasClass;
CpgImportAlias * cpg_import_alias_new (CpgImport *source
);
CpgImportAliasPrivate;
CpgImportAlias implements CpgUsable, CpgAnnotatable, CpgLayoutable, CpgTaggable and CpgModifiable.
This object provides an alias for an imported network. This can be useful when you have a shared library of templates A. Furthermore, imagine a network B which imports A and a network C which imports both B and A. The second import of A into C will then be an alias to the already imported A in B.
#define CPG_IMPORT_ALIAS_CONST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), CPG_TYPE_IMPORT_ALIAS, CpgImportAlias const))
CpgImportAlias * cpg_import_alias_new (CpgImport *source
);
Create a new alias for an existing import.
|
A CpgImport |
Returns : |
A CpgImportAlias |