src/core/Dependency.c
size_t GetDependencyNumIn(struct Dependencies * A) {
    if (!A) {
        mcx_log(LOG_ERROR, "Dependency: Get number of inputs: Invalid structure");
        return SIZE_T_ERROR;
    }

    return A->numIn;
}
// Only returns SIZE_T_ERROR if A was NULL
Only returns SIZE_T_ERROR if A was NULL
Only returns SIZE_T_ERROR if A was NULL
size_t GetDependencyNumIn(struct Dependencies * A) {
    if (!A) {
        mcx_log(LOG_ERROR, "Dependency: Get number of inputs: Invalid structure");
        return SIZE_T_ERROR;
    }
    return A->numIn;
}
size_t GetDependencyNumIn ( struct Dependencies * A ) { if ( ! A ) { mcx_log ( LOG_ERROR , " " ) ; return SIZE_T_ERROR ; } return A -> numIn ; }
Only returns SIZE_T_ERROR if A was NULL
Only returns SIZE_T_ERROR if A was NULL