@@ -46,6 +46,56 @@ class CNativeApiBindings {
4646 late final _native_accessibility_manager_is_enabled =
4747 _native_accessibility_manager_is_enabledPtr.asFunction< bool Function ()> ();
4848
49+ /// Caller owns the returned string; free it with free_c_str().
50+ ffi.Pointer <ffi.Char > native_app_info_get_name () {
51+ return _native_app_info_get_name ();
52+ }
53+
54+ late final _native_app_info_get_namePtr =
55+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
56+ 'native_app_info_get_name' ,
57+ );
58+ late final _native_app_info_get_name = _native_app_info_get_namePtr
59+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
60+
61+ /// Caller owns the returned string; free it with free_c_str().
62+ ffi.Pointer <ffi.Char > native_app_info_get_identifier () {
63+ return _native_app_info_get_identifier ();
64+ }
65+
66+ late final _native_app_info_get_identifierPtr =
67+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
68+ 'native_app_info_get_identifier' ,
69+ );
70+ late final _native_app_info_get_identifier =
71+ _native_app_info_get_identifierPtr
72+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
73+
74+ /// Caller owns the returned string; free it with free_c_str().
75+ ffi.Pointer <ffi.Char > native_app_info_get_version () {
76+ return _native_app_info_get_version ();
77+ }
78+
79+ late final _native_app_info_get_versionPtr =
80+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
81+ 'native_app_info_get_version' ,
82+ );
83+ late final _native_app_info_get_version = _native_app_info_get_versionPtr
84+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
85+
86+ /// Caller owns the returned string; free it with free_c_str().
87+ ffi.Pointer <ffi.Char > native_app_info_get_build_number () {
88+ return _native_app_info_get_build_number ();
89+ }
90+
91+ late final _native_app_info_get_build_numberPtr =
92+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
93+ 'native_app_info_get_build_number' ,
94+ );
95+ late final _native_app_info_get_build_number =
96+ _native_app_info_get_build_numberPtr
97+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
98+
4999 /// Caller owns the returned handle; release it with native_image_free().
50100 int native_image_from_file (ffi.Pointer <ffi.Char > file_path) {
51101 return _native_image_from_file (file_path);
@@ -2136,6 +2186,95 @@ class CNativeApiBindings {
21362186 late final _native_application_remove_listener =
21372187 _native_application_remove_listenerPtr.asFunction< bool Function (int )> ();
21382188
2189+ /// Caller owns the returned string; free it with free_c_str().
2190+ ffi.Pointer <ffi.Char > native_device_info_get_name () {
2191+ return _native_device_info_get_name ();
2192+ }
2193+
2194+ late final _native_device_info_get_namePtr =
2195+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
2196+ 'native_device_info_get_name' ,
2197+ );
2198+ late final _native_device_info_get_name = _native_device_info_get_namePtr
2199+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
2200+
2201+ /// Caller owns the returned string; free it with free_c_str().
2202+ ffi.Pointer <ffi.Char > native_device_info_get_model () {
2203+ return _native_device_info_get_model ();
2204+ }
2205+
2206+ late final _native_device_info_get_modelPtr =
2207+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
2208+ 'native_device_info_get_model' ,
2209+ );
2210+ late final _native_device_info_get_model = _native_device_info_get_modelPtr
2211+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
2212+
2213+ /// Caller owns the returned string; free it with free_c_str().
2214+ ffi.Pointer <ffi.Char > native_device_info_get_manufacturer () {
2215+ return _native_device_info_get_manufacturer ();
2216+ }
2217+
2218+ late final _native_device_info_get_manufacturerPtr =
2219+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
2220+ 'native_device_info_get_manufacturer' ,
2221+ );
2222+ late final _native_device_info_get_manufacturer =
2223+ _native_device_info_get_manufacturerPtr
2224+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
2225+
2226+ /// Caller owns the returned string; free it with free_c_str().
2227+ ffi.Pointer <ffi.Char > native_device_info_get_os_name () {
2228+ return _native_device_info_get_os_name ();
2229+ }
2230+
2231+ late final _native_device_info_get_os_namePtr =
2232+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
2233+ 'native_device_info_get_os_name' ,
2234+ );
2235+ late final _native_device_info_get_os_name =
2236+ _native_device_info_get_os_namePtr
2237+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
2238+
2239+ /// Caller owns the returned string; free it with free_c_str().
2240+ ffi.Pointer <ffi.Char > native_device_info_get_os_version () {
2241+ return _native_device_info_get_os_version ();
2242+ }
2243+
2244+ late final _native_device_info_get_os_versionPtr =
2245+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
2246+ 'native_device_info_get_os_version' ,
2247+ );
2248+ late final _native_device_info_get_os_version =
2249+ _native_device_info_get_os_versionPtr
2250+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
2251+
2252+ /// Caller owns the returned string; free it with free_c_str().
2253+ ffi.Pointer <ffi.Char > native_device_info_get_kernel_version () {
2254+ return _native_device_info_get_kernel_version ();
2255+ }
2256+
2257+ late final _native_device_info_get_kernel_versionPtr =
2258+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
2259+ 'native_device_info_get_kernel_version' ,
2260+ );
2261+ late final _native_device_info_get_kernel_version =
2262+ _native_device_info_get_kernel_versionPtr
2263+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
2264+
2265+ /// Caller owns the returned string; free it with free_c_str().
2266+ ffi.Pointer <ffi.Char > native_device_info_get_architecture () {
2267+ return _native_device_info_get_architecture ();
2268+ }
2269+
2270+ late final _native_device_info_get_architecturePtr =
2271+ _lookup< ffi.NativeFunction <ffi.Pointer <ffi.Char > Function ()>> (
2272+ 'native_device_info_get_architecture' ,
2273+ );
2274+ late final _native_device_info_get_architecture =
2275+ _native_device_info_get_architecturePtr
2276+ .asFunction< ffi.Pointer <ffi.Char > Function ()> ();
2277+
21392278 /// Creates a Display instance; release it with native_display_free().
21402279 int native_display_create (ffi.Pointer <ffi.Void > display) {
21412280 return _native_display_create (display);
0 commit comments