File tree Expand file tree Collapse file tree 1 file changed +5
-12
lines changed
Expand file tree Collapse file tree 1 file changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -219,18 +219,11 @@ non-C/C++ language).
219219
220220### Callbacks
221221
222- You might want to pass a host function into the sandbox that it can call. First,
223- you need to initialize callback support in the sandbox:
224-
225- ``` c
226- bool ok = lfi_box_cbinit(box);
227- assert (ok);
228- ```
229-
230- Next, you can register your host function as a sandbox callback. This will
231- return a function pointer to a function inside the sandbox that will transfer
232- control to the host function. Since it is inside the sandbox, it may be called
233- by sandbox code.
222+ You might want to pass a host function into the sandbox that it can call. You
223+ can register your host function as a sandbox callback. This will return a
224+ function pointer to a function inside the sandbox that will transfer control to
225+ the host function. Since it is inside the sandbox, it may be called by sandbox
226+ code.
234227
235228``` c
236229static int
You can’t perform that action at this time.
0 commit comments