Skip to content

sco_api.release_service

Any thread. Withdraws one of this plugin’s services. SCO_NOT_FOUND: it publishes nothing by that name.

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

Service index

Property Value
Symbol sco_api.release_service
Record ID sco-api-release-service
Service sco_api
Table sco_api
Version macro SCO_API_MAJOR/SCO_API_MINOR
Packed table version 65537
Since / availability size >= 112; 1.1
Complete member extent (x64 bytes) 112
Table size (x64 bytes) 128

Header source

sco_result (*release_service)(sco_plugin* self, const char* name);
Any thread. Withdraws one of this plugin’s services. SCO_NOT_FOUND: it publishes nothing by that name.

BAD_ARG invalid self or NULL name; NOT_FOUND no owned service (including one already withdrawn). No capability gate; released-self handling not an explicit wrapper check.

unspecified

Withdraws borrowed pointer, never frees provider table. Concurrency/quiescence for callers holding it unspecified.

Any thread; reentrancy unspecified.

unspecified

unspecified

Stops future lookup; effects on calls already executing unspecified.

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_api.h
(*release_service)
cpp typed-wrapper include/scosdk/service.hpp
return plugin.Api()->release_service(plugin.Self(), name);
csharp typed-wrapper sdk/csharp/Sco.Sdk/Services.cs
fixed (byte* n = Utf8.Z(name)) return a->release_service(SelfPtr, n);
lua unsupported sdk/docs/lua.md
The script sees only:
sdk/docs/lua.md
There is no io, os, package, require, debug, dofile, loadfile or FFI

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