mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Reword docs for Fiddle::Function#call [ci skip]
I'm using `<code>` instead of `+` since `+` only works when it encloses a single word.
This commit is contained in:
parent
25a48b703e
commit
a5fd651575
1 changed files with 2 additions and 3 deletions
|
@ -451,9 +451,8 @@ Init_fiddle_function(void)
|
|||
* Caller must ensure the underlying function is called in a
|
||||
* thread-safe manner if running in a multi-threaded process.
|
||||
*
|
||||
* Note that it is not thread-safe to use this method to
|
||||
* directly or indirectly call many Ruby C-extension APIs unless
|
||||
* you don't pass +need_gvl: true+ to Fiddle::Function#new.
|
||||
* Note that many Ruby C-extension APIs are thread-safe to call
|
||||
* only when the Function is constructed with <code>need_gvl: true</code>.
|
||||
*
|
||||
* For an example see Fiddle::Function
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue