1
0
forked from drath/libratbag

tools: add 'rate get-all' to the resolutions

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer
2017-10-17 11:58:16 +10:00
committed by Benjamin Tissoires
parent bacdab2596
commit cb4be02a56
5 changed files with 39 additions and 0 deletions

View File

@@ -44,6 +44,14 @@
}
/* END OF custom typemap for handling ratbag_resolution_get_dpi_list */
/* custom typemap for handling ratbag_resolution_get_report_rate_list */
/* We re-use the ratbag_resolution_get_dpi_list typemap */
%typemap(in) (unsigned int *rates, size_t nrates) = (unsigned int *resolutions, size_t nres);
%typemap(argout) (unsigned int *rates, size_t nrates) = (unsigned int *resolutions, size_t nres);
%typemap(freearg) (unsigned int *rates, size_t nrates) = (unsigned int *resolutions, size_t nres);
/* END OF custom typemap for handling ratbag_resolution_get_report_rate_list */
/* Parse the header file to generate wrappers */
%include "libratbag.h"
%include "libratbag-enums.h"