这是indexloc提供的服务,不要输入任何密码
Skip to content

Add library version api's #1133

@rurban

Description

@rurban

As requested in #1116

  /* Generic version api */
  EXPORT const char* dwg_api_version_string (void); // ie PACKAGE_VERSION
  EXPORT int dwg_api_version (void); // ie 100*major + minor
  EXPORT int dwg_api_version_major (void); // ie LIBREDWG_VERSION_MAJOR
  EXPORT int dwg_api_version_minor (void); // ie LIBREDWG_VERSION_MINOR
  /* if PACKAGE_VERSION == release tag only, and configured with --enable-release */
  EXPORT bool dwg_api_version_is_release (void);
  EXPORT const char* dwg_api_so_version (void);

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions