Skip to main content

Module library

Module library 

Source
Expand description

Loading and saving whole libraries.

Structs§

Library
An Eagle library loaded into memory (item payload files stay on disk).

Constants§

APP_VERSION
The Eagle release whose library format falcon reads and writes. A library whose applicationVersion is newer is refused, as that Eagle refuses it.

Functions§

compare_versions
Orders two version strings the way Eagle’s version check does: an optional leading v, dot-separated numbers (missing ones count as 0), then an optional -prerelease that sorts before the release itself (its dot-separated parts compare as numbers when both are numeric, else as text, and fewer parts sort first). +build is ignored. None when either isn’t a version.
is_newer_than_app
Whether a library written by Eagle version is too new for falcon. Unparseable versions are not refused.