Sfoglia il codice sorgente

openhmd: fix documentation of ohmd_require_version

Alexandre Janniaux 6 anni fa
parent
commit
80d51bea57
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      include/openhmd.h

+ 1 - 1
include/openhmd.h

@@ -462,7 +462,7 @@ OHMD_APIENTRYDLL int OHMD_APIENTRY ohmd_device_set_data(ohmd_device* device, ohm
 OHMD_APIENTRYDLL void OHMD_APIENTRY ohmd_get_version(int* out_major, int* out_minor, int* out_patch);
 
 /**
- * Set an void* data value for a device.
+ * Check that the library is compatible with the required version.
  *
  * @param major Required major version.
  * @param minor Required minor version.