sl_engine_get_style_name function

  1. @Native<Pointer<Char> Function(sl_engine_handle_t, Int32)>(sl_engine_handle_t, ffi.Int32)>(assetId: _sweetlineAssetId)
Pointer<Char> sl_engine_get_style_name(
  1. sl_engine_handle_t engine_handle,
  2. int style_id
)

Get style name by style ID @param engine_handle Highlight engine handle @param style_id Highlight style ID @return The registered style name for the given ID in the engine

Implementation

@ffi.Native<ffi.Pointer<ffi.Char> Function(sl_engine_handle_t, ffi.Int32)>(assetId: _sweetlineAssetId)
external ffi.Pointer<ffi.Char> sl_engine_get_style_name(
  sl_engine_handle_t engine_handle,
  int style_id,
);