Comments (8)
Federico,
The new 0.9.0 release includes file ddcutil_macros.h, which contains macro definitions DDCUTIL_VMAJOR, DDCUTIL_VMINOR, and DDCUTIL_VMICRO specifying the version number.
Note that the C API has been thoroughly reworked, and hopefully regularized. See C API Changes for Release 0.9.0.
Sanford
from ddcutil.
from ddcutil.
Dealing with (possible) API breaks?
Eg, i now use it this way:
#if DDCUTIL_VERSION_MAJ == 0 && DDCUTIL_VERSION_MIN == 8 && DDCUTIL_VERSION_PATCH < 7 #define ddca_free_any_vcp_value(x) (void)x #endif
For now, i'm creating these macros from pkg-config output:
DDCUTIL_VERSION_MAJ=$(shell pkg-config --modversion ddcutil | cut -d '.' -f1) DDCUTIL_VERSION_MIN=$(shell pkg-config --modversion ddcutil | cut -d '.' -f2) DDCUTIL_VERSION_PATCH=$(shell pkg-config --modversion ddcutil | cut -d '.' -f3)
But it would surely be better to use a macro shipped by you (as i always fear that pkg-config file is not synced).
from ddcutil.
from ddcutil.
That would give "undefined reference" on a 0.8.6 version of ddcutil, as that version would not provide ddca_free_any_vcp_value() that is still referenced in code, even if not used.
Did i misunderstand anything?
By the way is there an ETA for 0.8.7?
Thanks!
from ddcutil.
from ddcutil.
0.8.7 is several weeks away
I see, thanks for the info!
from ddcutil.
Thank you very much!
I'll let you know if I encounter any issue ;)
from ddcutil.
Related Issues (20)
- Unable to detect display HOT 26
- Unable to detect display on a minimal distro install, works with a DE HOT 2
- ASUS PG329Q no serial number in EDID, best method of identifying specific identical monitors in dual/multi setup HOT 12
- DDC communication failed ThinkVision T24d-10 HOT 6
- nvidia proprietary driver incompatible with ddcutil 1.3.0 HOT 1
- LG 34GK950-F Input switch to working. HOT 4
- Can you control the contrast? HOT 1
- Doc: range is not a number HOT 1
- ABI forward compatibility HOT 12
- ddcutil sometimes work, sometimes detection error HOT 5
- patch: crash on libddcutil init with Philips 328E1 HOT 4
- USB-C to HDMI adapter with DDC communication failures HOT 3
- ddcutil probe fails on Ubuntu 22.04 & 22.10 with AMD Ryzen 6900HX CPU HOT 9
- ddcutil detect (version 1.2.2) ignores --bus HOT 4
- Ddcutil broken on 2 monitors after 1.4.0 release HOT 11
- Release 1.4.1
- ddcutil.com returns 404 HOT 1
- Change input source on Acer X34 Predator HOT 2
- LG 34G850-B not accepting commands HOT 1
- ddcutil 1.3.0 crashes on archlinux HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ddcutil.