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:
committed by
Benjamin Tissoires
parent
bacdab2596
commit
cb4be02a56
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user