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

Commit fe876d9

Browse files
committed
lcb: Correct '__safe' in language reference
This patch corrects ____safe to __safe in the specification of the syntax of the safe foreign handler clause.
1 parent 4494d56 commit fe876d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/LiveCode Builder Language Reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1027,7 +1027,7 @@ or go away without warning.
10271027
### Safe Foreign Handlers
10281028

10291029
SafeForeignHandler
1030-
: '____safe' 'foreign' 'handler' <Name: Identifier> '(' [ ParameterList ] ')' [ 'returns' <ReturnType: Type> ) ] 'binds' 'to' <Binding: String>
1030+
: '__safe' 'foreign' 'handler' <Name: Identifier> '(' [ ParameterList ] ')' [ 'returns' <ReturnType: Type> ) ] 'binds' 'to' <Binding: String>
10311031

10321032
By default foreign handlers are considered unsafe and thus can only be used in
10331033
unsafe blocks, or unsafe handlers. However, at the moment it is possible for a

0 commit comments

Comments
 (0)