#ifdef __cplusplus extern "C" { #endif #pragma once #include "OGDFType.h" #include "STDDeletable.h" #include "stdcxxType.h" #define LAYOUTMODULE_DECL_VIRT(Type) \ void Type##_call ( Type##_p p, GraphAttributes_p ga ); #define LAYOUTMODULE_DECL_NONVIRT(Type) \ #define LAYOUTMODULE_DECL_ACCESSOR(Type) \ #define LAYOUTMODULE_DEF_VIRT(Type) \ void Type##_call ( Type##_p p, GraphAttributes_p ga ) {\ ((TYPECASTMETHOD(Type, call, LayoutModule))(p))->call(from_nonconstref_to_nonconstref(*(ga)));\ } #define LAYOUTMODULE_DEF_NONVIRT(Type) \ #define LAYOUTMODULE_DEF_ACCESSOR(Type) \ DELETABLE_DECL_VIRT(LayoutModule) LAYOUTMODULE_DECL_VIRT(LayoutModule) LAYOUTMODULE_DECL_NONVIRT(LayoutModule) LAYOUTMODULE_DECL_ACCESSOR(LayoutModule) #ifdef __cplusplus } #endif