# Doc bug: FMOD\_FILE\_ASYNCDONE\_FUNC shows the wrong signature

**URL:** https://qa.fmod.com/t/doc-bug-fmod-file-asyncdone-func-shows-the-wrong-signature/18735
**Category:** FMOD Engine
**Created:** [May 6, 2022, 9:37pm UTC](https://qa.fmod.com/t/doc-bug-fmod-file-asyncdone-func-shows-the-wrong-signature/18735 "2022-05-06T21:37:49Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![cad97](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/cad97/32/3314_2.png) [@cad97](https://qa.fmod.com/u/cad97)
#### Post date: [May 6, 2022, 9:37pm UTC](https://qa.fmod.com/t/doc-bug-fmod-file-asyncdone-func-shows-the-wrong-signature/18735/1 "2022-05-06T21:37:49Z")

</div>

[[online docs]](https://fmod.com/resources/documentation-api?version=2.02&page=core-api-system.html#fmod_file_asyncdone_func)

The docs list the C signature as

```nohighlight
FMOD_RESULT F_CALLBACK FMOD_FILE_ASYNCDONE_FUNC(
  FMOD_ASYNCREADINFO *info,
  FMOD_RESULT result
);

```

but in actuality the callback returns `void`. The `typedef` in the header is (line breaks inserted by me)

```nohighlight
typedef
void
(F_CALL *FMOD_FILE_ASYNCDONE_FUNC)
(FMOD_ASYNCREADINFO *info, FMOD_RESULT result);

```

---

<div class="post-metadata">

### Author: ![richard\_simms](https://yyz2.discourse-cdn.com/flex036/user_avatar/qa.fmod.com/richard_simms/32/261_2.png) [@richard\_simms](https://qa.fmod.com/u/richard_simms)
#### Post date: [May 10, 2022, 6:19am UTC](https://qa.fmod.com/t/doc-bug-fmod-file-asyncdone-func-shows-the-wrong-signature/18735/2 "2022-05-10T06:19:15Z")

</div>

Thank you for bringing this to our attention. I’ve raised this as a bug and it will be fixed in a later update.
