/** * @file mul.h * @brief Mul mnemonic: pop two elements and push their product. */ #ifndef MUL_H #define MUL_H #include "mne.h" /** * @brief Forward declaration of non-derivable class Mul. * */ typedef struct _mul_t mul_t; /** * @brief Mul vtable is identical to base Mne vtable (no new methods). * */ typedef mne_vtable_t mul_vtable_t; /** * @brief Constructs a Mul mnemonic. * * @return A newly allocated Mul mnemonic. */ mul_t* mul_build_default(void); /** * @brief Destroys a Mul mnemonic (via polymorphic destructor). * * @param self The Mul mnemonic (can be NULL). * @note This is a convenience wrapper; normally destructed via mne_destroy(). */ void mul_destroy(mul_t *self); #endif /* MUL_H */