Source/KSCrash/Recording/Monitors/KSCrashMonitor_AppState.c
/** Callback for adding JSON data.
 */
Callback for adding JSON data.
Callback for adding JSON data .
static int addJSONData(const char* const data, const int length, void* const userData)
{
    const int fd = *((int*)userData);
    const bool success = ksfu_writeBytesToFD(fd, data, length);
    return success ? KSJSON_OK : KSJSON_ERROR_CANNOT_ADD_DATA;
}
static int addJSONData ( const char * const data , const int length , void * const userData ) { const int fd = * ( ( int * ) userData ) ; const bool success = ksfu_writeBytesToFD ( fd , data , length ) ; return success ? KSJSON_OK : KSJSON_ERROR_CANNOT_ADD_DATA ; }
Callback for adding JSON data.
Callback for adding JSON data .