源码
extern DllExport void ufsta(char *param, int *returnCode, int rlen) { UF_initialize(); int edge_type = 0; tag_t tagEdge = 88888; UF_MODL_ask_edge_type(tagEdge, &edge_type); /* edge_type UF_MODL_LINEAR_EDGE UF_MODL_CIRCULAR_EDGE UF_MODL_ELLIPTICAL_EDGE UF_MODL_INTERSECTION_EDGE UF_MODL_SPLINE_EDGE UF_MODL_SP_CURVE_EDGE UF_MODL_FOREIGN_EDGE UF_MODL_CONST_PARAMETER_EDGE UF_MODL_TRIMMED_CURVE_EDGE */ UF_terminate(); } extern int ufusr_ask_unload(void) { return (UF_UNLOAD_IMMEDIATELY); }