interface-fix!

Synopsis

(interface-fix! interface)

Parameters

  • interface

Description

This procedure “fixes” the specified interface and thus exempts it to be deleted (freed) during garbage collection when the interpreter has no longer a reference to it.

Side Effects

The interface is fixed.

Return Value

unspecified (ok)

Example

> (define interface (interface-attach "en0"))
interface
> (interface-fix! interface)
ok
> (interface-fixed? interface)
#t
>