Skip to content

sco_ui_v1.last_error

The message of this plugin’s last refused call (“” if none), NUL-terminated, with the size handshake.

sco_result (*)(sco_plugin *, char *, uint32_t *)

Service index

Property Value
Symbol sco_ui_v1.last_error
Record ID sco-ui-v1-last-error
Service sco.ui
Table sco_ui_v1
Version macro SCO_UI_VERSION_1_0
Packed table version 65536
Since / availability size >= 80; 1.0
Complete member extent (x64 bytes) 80
Table size (x64 bytes) 80

Header source

sco_result (*last_error)(sco_plugin* self, char* out, uint32_t* inout_size);
The message of this plugin’s last refused call (“” if none), NUL-terminated, with the size handshake.

Absent table: query_service NOT_FOUND; stopped self-taking methods: UNAVAILABLE; invalid/released self: BAD_ARG; allocation exceptions: TOO_MANY. Additional failures/output state unspecified unless described in the buffer contract.

Absent table: query_service NOT_FOUND

Strings/arguments copied; draw/ctx borrowed until unregister/unload. Host owns registry; no allocation transfer.

Any thread; draw callbacks game thread. Other recursive reentrancy unspecified.

draw callbacks game thread.

unspecified

No in-flight cancellation API; unregister/unbind removes registration; ordinary unload/non-retained crash cleanup withdraws all UI. Retained-provider faults skip owner resource-release hooks and require restart; backing resources remain retained, not safe for cached calls. Guarded draws stop, but snapshots and chord reservations remain.

Status labels are copied verbatim from the catalogue: direct is native access; typed-wrapper is wrapper-backed; restricted is a subset/adaptation; unsupported means no supported route is established. No status implies universal safety.

Language Catalogue status Source evidence / wrapper tokens
c direct include/sco_ui.h
(*last_error)
cpp typed-wrapper include/scosdk/ui.hpp
sco_result r = t_->last_error(self_, s.data(), &size);
csharp typed-wrapper sdk/csharp/Sco.Sdk/Ui.cs
return Storage.Sized((buf, size) => _t->last_error(Self, buf, size), out byte[] b) == ScoResult.Ok ? Utf8.FromBytes(b) : “”;
lua restricted plugins/lua/sco_lua.c
if (ui->last_error(s->self, msg, &size) == SCO_OK && msg[0]) {

None identified in the catalogue; this is not proof none can exist.

ABI pins prove layout, not semantic behavior or a live game session.