libmatrix
Macros
guard.h File Reference

Safe guard for matrix.h. More...

#include "oxidation.h"

Go to the source code of this file.

Macros

#define MATRIX_SAFE_GUARD(_matrix_type, _data_type, _index_type)
 
#define MATRIX_SAFE_GUARD_DECLARE(_matrix_type, _data_type, _index_type)   static inline bool _matrix_type##_out_range(_matrix_type* m, _index_type row, _index_type col);
 

Detailed Description

Safe guard for matrix.h.

Author
Jacob Lin (hi@ja.nosp@m.cobl.nosp@m.in.co.nosp@m.ol)
Date
2022-10-08

Macro Definition Documentation

◆ MATRIX_SAFE_GUARD

#define MATRIX_SAFE_GUARD (   _matrix_type,
  _data_type,
  _index_type 
)
Value:
static inline bool _matrix_type##_out_range(_matrix_type* m, _index_type row, \
_index_type col) { \
return false; \
}