| 511 | * \sa DLPackExchangeAPI |
| 512 | */ |
| 513 | typedef struct DLPackExchangeAPIHeader { |
| 514 | /*! |
| 515 | * \brief The provided DLPack version the consumer must check major version |
| 516 | * compatibility before using this struct. |
| 517 | */ |
| 518 | DLPackVersion version; |
| 519 | /*! |
| 520 | * \brief Optional pointer to an older DLPackExchangeAPI in the chain. |
| 521 | * |
| 522 | * It must be NULL if the framework does not support older versions. |
| 523 | * If the current major version is larger than the one supported by the |
| 524 | * consumer, the consumer may walk this to find an earlier supported version. |
| 525 | * |
| 526 | * \sa DLPackExchangeAPI |
| 527 | */ |
| 528 | struct DLPackExchangeAPIHeader* prev_api; |
| 529 | } DLPackExchangeAPIHeader; |
| 530 | |
| 531 | /*! |
| 532 | * \brief Framework-specific function pointers table for DLPack exchange. |
nothing calls this directly
no outgoing calls
no test coverage detected