// // php-armadillo/constants.hh // // @Author CismonX // #ifndef PHP_ARMA_CONSTANTS_HH #define PHP_ARMA_CONSTANTS_HH #include namespace php_arma { struct fill { static constexpr auto none = 0; static constexpr auto zeros = 1; static constexpr auto ones = 2; static constexpr auto eye = 3; static constexpr auto randu = 4; static constexpr auto randn = 5; }; struct file_type { static constexpr auto auto_detect = 0; static constexpr auto arma_binary = 1; static constexpr auto arma_ascii = 2; static constexpr auto raw_binary = 3; static constexpr auto raw_ascii = 4; static constexpr auto csv_ascii = 5; static constexpr auto coord_ascii = 6; static constexpr auto pgm_binary = 7; }; struct sort_direction { static constexpr auto ascend = 0; static constexpr auto descend = 1; static constexpr auto strict_ascend = 2; static constexpr auto strict_descend = 3; }; void constants_init(); inline zend_class_entry *fill_ce; inline zend_class_entry *file_type_ce; inline zend_class_entry *sort_direction_ce; } #endif //!PHP_ARMA_CONSTANTS_HH