28 lines
423 B
C++
28 lines
423 B
C++
//
|
|
// php-armadillo/base.hh
|
|
//
|
|
// @Author CismonX
|
|
//
|
|
|
|
#ifndef PHP_ARMA_BASE_HH
|
|
#define PHP_ARMA_BASE_HH
|
|
|
|
#include "php_arma.hh"
|
|
|
|
namespace php_arma
|
|
{
|
|
template <typename T, typename ChildT>
|
|
struct base
|
|
{
|
|
using native_t = typename ChildT::native_t;
|
|
};
|
|
|
|
void base_init();
|
|
|
|
constexpr const char base_php_name[] = "Base";
|
|
|
|
inline zend_class_entry *base_ce;
|
|
}
|
|
|
|
#endif // !PHP_ARMA_BASE_HH
|