Skip to content

sco_settings_v1.get_int

SCO_BAD_ARG: not an int setting (a float or enum included).

sco_result (*)(sco_plugin *, const char *, int64_t *)

Service index

Property Value
Symbol sco_settings_v1.get_int
Record ID sco-settings-v1-get-int
Service sco.settings
Table sco_settings_v1
Version macro SCO_SETTINGS_VERSION_1_0
Packed table version 65536
Since / availability size >= 24; 1.0
Complete member extent (x64 bytes) 24
Table size (x64 bytes) 48

Header source

sco_result (*get_int)(sco_plugin* self, const char* name, int64_t* out);
SCO_BAD_ARG: not an int setting (a float or enum included).

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

Absent table: query_service NOT_FOUND

Caller outputs; host owns settings; no allocation transfer. String/error copy may allocate internally.

Any thread; memory reads under lock. Recursive reentrancy unspecified.

unspecified

unspecified

No cancellation entrypoint; synchronous reads; unload withdraws settings. Retained-provider faults skip owner resource-release hooks and require restart; backing resources remain retained, not safe for cached calls.

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_settings.h
(*get_int)
cpp typed-wrapper include/scosdk/settings.hpp
return detail::CanCall(t_, &sco_settings_v1::get_int) ? t_->get_int(self_, name, &out) : SCO_UNAVAILABLE;
csharp typed-wrapper sdk/csharp/Sco.Sdk/Settings.cs
fixed (byte* n = Utf8.Z(name)) r = _t->get_int(Self, n, &v);
lua typed-wrapper plugins/lua/sco_lua.c
if (r == SCO_BAD_ARG && (r = st->get_int(s->self, name, &i)) == SCO_OK) { lua_pushinteger(L, (lua_Integer)i); return 1; }

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

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