summaryrefslogtreecommitdiff
path: root/html/en/func/other.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/en/func/other.html')
-rw-r--r--html/en/func/other.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/html/en/func/other.html b/html/en/func/other.html
index af611ef..b493ae5 100644
--- a/html/en/func/other.html
+++ b/html/en/func/other.html
@@ -96,8 +96,9 @@ cd.ContextRegisterCallback(ctx, cb: number, func: function) -> (status: numbe
<p>Used to customize the behavior of the&nbsp; <b><font>Play</font></b>
function. If you register a known callback function, it will be called during
- the processing loop of <font>cdPlay</font>.</p>
- <p>The callback should return <font>CD_CONTINUE</font>, if it
+ the processing loop of <font><strong>cdCanvasPlay</strong></font>. Returns
+ CD_OK if the specified callback is supported or CD_ERROR otherwise.</p>
+ <p>The callback itself should return <font>CD_CONTINUE</font>, if it
returns <font>CD_ABORT</font>, the <font>cdPlay</font>
function is aborted. The callback identifiers of a given driver must be in the
header file relative to that driver, with prefix &quot;<font>CD_XXYYYCB</font>&quot;,