#ifndef __verdict_mangle_h #define __verdict_mangle_h /* This header file mangles all symbols exported from the verdict library. It is included in all files while building the verdict library. The following command was used to obtain the symbol list: nm libverdict.a |grep " [TRD] " This is the way to recreate the whole list: nm libvtkverdict.dylib |grep " [TRD] " | sed -e 's+^[^_]*_++g' | \ awk '{ print "#define "$1" @VERDICT_MANGLE_PREFIX@_"$1 }' | \ grep -v __fini | grep -v __init | sort > verdict_mangle.h.in After this, you must manually edit the file and replace any names mangled by the C++ compiler with their generic counterparts since different C++ compilers have different mangling schemes. Note that _fini and _init should be excluded because they are not functions implemented by the library but are rather created by the linker and used when the shared library is loaded/unloaded from an executable. */ /* C++ function and class names */ #define v_determinant @VERDICT_MANGLE_PREFIX@_v_determinant #define v_interpolate @VERDICT_MANGLE_PREFIX@_v_interpolate #define v_vector_rotate @VERDICT_MANGLE_PREFIX@_v_vector_rotate #define VerdictVector @VERDICT_MANGLE_PREFIX@_VerdictVector #define GaussIntegration @VERDICT_MANGLE_PREFIX@_GaussIntegration /* C function names */ #define v_edge_length @VERDICT_MANGLE_PREFIX@_v_edge_length #define v_edge_quality @VERDICT_MANGLE_PREFIX@_v_edge_quality #define v_hex_condition @VERDICT_MANGLE_PREFIX@_v_hex_condition #define v_hex_diagonal @VERDICT_MANGLE_PREFIX@_v_hex_diagonal #define v_hex_dimension @VERDICT_MANGLE_PREFIX@_v_hex_dimension #define v_hex_distortion @VERDICT_MANGLE_PREFIX@_v_hex_distortion #define v_hex_edge_ratio @VERDICT_MANGLE_PREFIX@_v_hex_edge_ratio #define v_hex_jacobian @VERDICT_MANGLE_PREFIX@_v_hex_jacobian #define v_hex_max_aspect_frobenius @VERDICT_MANGLE_PREFIX@_v_hex_max_aspect_frobenius #define v_hex_max_edge_ratio @VERDICT_MANGLE_PREFIX@_v_hex_max_edge_ratio #define v_hex_med_aspect_frobenius @VERDICT_MANGLE_PREFIX@_v_hex_med_aspect_frobenius #define v_hex_oddy @VERDICT_MANGLE_PREFIX@_v_hex_oddy #define v_hex_quality @VERDICT_MANGLE_PREFIX@_v_hex_quality #define v_hex_relative_size_squared @VERDICT_MANGLE_PREFIX@_v_hex_relative_size_squared #define v_hex_scaled_jacobian @VERDICT_MANGLE_PREFIX@_v_hex_scaled_jacobian #define v_hex_shape @VERDICT_MANGLE_PREFIX@_v_hex_shape #define v_hex_shape_and_size @VERDICT_MANGLE_PREFIX@_v_hex_shape_and_size #define v_hex_shear @VERDICT_MANGLE_PREFIX@_v_hex_shear #define v_hex_shear_and_size @VERDICT_MANGLE_PREFIX@_v_hex_shear_and_size #define v_hex_skew @VERDICT_MANGLE_PREFIX@_v_hex_skew #define v_hex_stretch @VERDICT_MANGLE_PREFIX@_v_hex_stretch #define v_hex_taper @VERDICT_MANGLE_PREFIX@_v_hex_taper #define v_hex_volume @VERDICT_MANGLE_PREFIX@_v_hex_volume #define v_knife_quality @VERDICT_MANGLE_PREFIX@_v_knife_quality #define v_knife_volume @VERDICT_MANGLE_PREFIX@_v_knife_volume #define v_pyramid_quality @VERDICT_MANGLE_PREFIX@_v_pyramid_quality #define v_pyramid_volume @VERDICT_MANGLE_PREFIX@_v_pyramid_volume #define v_quad_area @VERDICT_MANGLE_PREFIX@_v_quad_area #define v_quad_aspect_ratio @VERDICT_MANGLE_PREFIX@_v_quad_aspect_ratio #define v_quad_condition @VERDICT_MANGLE_PREFIX@_v_quad_condition #define v_quad_distortion @VERDICT_MANGLE_PREFIX@_v_quad_distortion #define v_quad_edge_ratio @VERDICT_MANGLE_PREFIX@_v_quad_edge_ratio #define v_quad_jacobian @VERDICT_MANGLE_PREFIX@_v_quad_jacobian #define v_quad_max_aspect_frobenius @VERDICT_MANGLE_PREFIX@_v_quad_max_aspect_frobenius #define v_quad_max_edge_ratio @VERDICT_MANGLE_PREFIX@_v_quad_max_edge_ratio #define v_quad_maximum_angle @VERDICT_MANGLE_PREFIX@_v_quad_maximum_angle #define v_quad_med_aspect_frobenius @VERDICT_MANGLE_PREFIX@_v_quad_med_aspect_frobenius #define v_quad_minimum_angle @VERDICT_MANGLE_PREFIX@_v_quad_minimum_angle #define v_quad_oddy @VERDICT_MANGLE_PREFIX@_v_quad_oddy #define v_quad_quality @VERDICT_MANGLE_PREFIX@_v_quad_quality #define v_quad_radius_ratio @VERDICT_MANGLE_PREFIX@_v_quad_radius_ratio #define v_quad_relative_size_squared @VERDICT_MANGLE_PREFIX@_v_quad_relative_size_squared #define v_quad_scaled_jacobian @VERDICT_MANGLE_PREFIX@_v_quad_scaled_jacobian #define v_quad_shape @VERDICT_MANGLE_PREFIX@_v_quad_shape #define v_quad_shape_and_size @VERDICT_MANGLE_PREFIX@_v_quad_shape_and_size #define v_quad_shear @VERDICT_MANGLE_PREFIX@_v_quad_shear #define v_quad_shear_and_size @VERDICT_MANGLE_PREFIX@_v_quad_shear_and_size #define v_quad_skew @VERDICT_MANGLE_PREFIX@_v_quad_skew #define v_quad_stretch @VERDICT_MANGLE_PREFIX@_v_quad_stretch #define v_quad_taper @VERDICT_MANGLE_PREFIX@_v_quad_taper #define v_quad_warpage @VERDICT_MANGLE_PREFIX@_v_quad_warpage #define v_set_hex_size @VERDICT_MANGLE_PREFIX@_v_set_hex_size #define v_set_quad_size @VERDICT_MANGLE_PREFIX@_v_set_quad_size #define v_set_tet_size @VERDICT_MANGLE_PREFIX@_v_set_tet_size #define v_set_tri_normal_func @VERDICT_MANGLE_PREFIX@_v_set_tri_normal_func #define v_set_tri_size @VERDICT_MANGLE_PREFIX@_v_set_tri_size #define v_tet_aspect_beta @VERDICT_MANGLE_PREFIX@_v_tet_aspect_beta #define v_tet_aspect_frobenius @VERDICT_MANGLE_PREFIX@_v_tet_aspect_frobenius #define v_tet_aspect_gamma @VERDICT_MANGLE_PREFIX@_v_tet_aspect_gamma #define v_tet_aspect_ratio @VERDICT_MANGLE_PREFIX@_v_tet_aspect_ratio #define v_tet_collapse_ratio @VERDICT_MANGLE_PREFIX@_v_tet_collapse_ratio #define v_tet_condition @VERDICT_MANGLE_PREFIX@_v_tet_condition #define v_tet_distortion @VERDICT_MANGLE_PREFIX@_v_tet_distortion #define v_tet_edge_ratio @VERDICT_MANGLE_PREFIX@_v_tet_edge_ratio #define v_tet_jacobian @VERDICT_MANGLE_PREFIX@_v_tet_jacobian #define v_tet_minimum_angle @VERDICT_MANGLE_PREFIX@_v_tet_minimum_angle #define v_tet_quality @VERDICT_MANGLE_PREFIX@_v_tet_quality #define v_tet_radius_ratio @VERDICT_MANGLE_PREFIX@_v_tet_radius_ratio #define v_tet_relative_size_squared @VERDICT_MANGLE_PREFIX@_v_tet_relative_size_squared #define v_tet_scaled_jacobian @VERDICT_MANGLE_PREFIX@_v_tet_scaled_jacobian #define v_tet_shape @VERDICT_MANGLE_PREFIX@_v_tet_shape #define v_tet_shape_and_size @VERDICT_MANGLE_PREFIX@_v_tet_shape_and_size #define v_tet_volume @VERDICT_MANGLE_PREFIX@_v_tet_volume #define v_tri_area @VERDICT_MANGLE_PREFIX@_v_tri_area #define v_tri_aspect_frobenius @VERDICT_MANGLE_PREFIX@_v_tri_aspect_frobenius #define v_tri_aspect_ratio @VERDICT_MANGLE_PREFIX@_v_tri_aspect_ratio #define v_tri_condition @VERDICT_MANGLE_PREFIX@_v_tri_condition #define v_tri_distortion @VERDICT_MANGLE_PREFIX@_v_tri_distortion #define v_tri_edge_ratio @VERDICT_MANGLE_PREFIX@_v_tri_edge_ratio #define v_tri_maximum_angle @VERDICT_MANGLE_PREFIX@_v_tri_maximum_angle #define v_tri_minimum_angle @VERDICT_MANGLE_PREFIX@_v_tri_minimum_angle #define v_tri_quality @VERDICT_MANGLE_PREFIX@_v_tri_quality #define v_tri_radius_ratio @VERDICT_MANGLE_PREFIX@_v_tri_radius_ratio #define v_tri_relative_size_squared @VERDICT_MANGLE_PREFIX@_v_tri_relative_size_squared #define v_tri_scaled_jacobian @VERDICT_MANGLE_PREFIX@_v_tri_scaled_jacobian #define v_tri_shape @VERDICT_MANGLE_PREFIX@_v_tri_shape #define v_tri_shape_and_size @VERDICT_MANGLE_PREFIX@_v_tri_shape_and_size #define v_wedge_quality @VERDICT_MANGLE_PREFIX@_v_wedge_quality #define v_wedge_volume @VERDICT_MANGLE_PREFIX@_v_wedge_volume #define v_wedge_condition @VERDICT_MANGLE_PREFIX@_wedge_condition #define v_wedge_distortion @VERDICT_MANGLE_PREFIX@_wedge_distortion #define v_wedge_edge_ratio @VERDICT_MANGLE_PREFIX@_wedge_edge_ratio #define v_wedge_jacobian @VERDICT_MANGLE_PREFIX@_wedge_jacobian #define v_wedge_max_aspect_frobenius @VERDICT_MANGLE_PREFIX@_wedge_max_aspect_frobenius #define v_wedge_max_stretch @VERDICT_MANGLE_PREFIX@_wedge_max_stretch #define v_wedge_mean_aspect_frobenius @VERDICT_MANGLE_PREFIX@_wedge_mean_aspect_frobenius #define v_wedge_scaled_jacobian @VERDICT_MANGLE_PREFIX@_wedge_scaled_jacobian #define v_wedge_shape @VERDICT_MANGLE_PREFIX@_wedge_shape #endif /* __verdict_mangle_h */