|
FireSync API
|
| kStatus kLoadFromFile | ( | kObject * | object, |
| const kChar * | path, | ||
| kLoadStreamFx | loadFunction, | ||
| kAlloc | allocator | ||
| ) |
Loads a file and parses a user-defined object from the file using the specified callback.
| object | Receives constructed object. |
| path | Path to file. |
| loadFunction | Callback function to parse object from file stream. |
| allocator | Memory allocator (or kNULL for default). |