Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit 8b85897

Browse files
Merge pull request #1994 from montegoulding/allocinit
[[ Bug ]] Fix alloc & init handler definitions
2 parents 701f0ef + c77d4a2 commit 8b85897

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Documentation/guides/Extending LiveCode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1030,7 +1030,7 @@ method to allocate an instance, and then call `initWithVoice:` on it:
10301030
The `+` indicates this is a class method, i.e. we don't require an
10311031
instance of the class to call the method.
10321032

1033-
foreign handler Objc_NSSpeechSynthesizerInitWithVoice(in pSynthesizer as ObjcId, in pVoice as optional ObjcId) returns ObjcId \
1033+
foreign handler Objc_NSSpeechSynthesizerInitWithVoice(in pSynthesizer as ObjcRetainedId, in pVoice as optional ObjcId) returns optional ObjcRetainedId \
10341034
binds to "objc:NSSpeechSynthesizer.-initWithVoice:"
10351035
10361036
The `-` here indicates this is an instance method, i.e. we require an

0 commit comments

Comments
 (0)