bool loaded() const { return loaded_; }
- typeof(&::spd_open) spd_open;
- typeof(&::spd_say) spd_say;
- typeof(&::spd_stop) spd_stop;
- typeof(&::spd_close) spd_close;
- typeof(&::spd_pause) spd_pause;
- typeof(&::spd_resume) spd_resume;
- typeof(&::spd_set_notification_on) spd_set_notification_on;
- typeof(&::spd_set_voice_rate) spd_set_voice_rate;
- typeof(&::spd_set_voice_pitch) spd_set_voice_pitch;
- typeof(&::spd_list_synthesis_voices) spd_list_synthesis_voices;
- typeof(&::spd_set_synthesis_voice) spd_set_synthesis_voice;
- typeof(&::spd_list_modules) spd_list_modules;
- typeof(&::spd_set_output_module) spd_set_output_module;
+ decltype(&::spd_open) spd_open;
+ decltype(&::spd_say) spd_say;
+ decltype(&::spd_stop) spd_stop;
+ decltype(&::spd_close) spd_close;
+ decltype(&::spd_pause) spd_pause;
+ decltype(&::spd_resume) spd_resume;
+ decltype(&::spd_set_notification_on) spd_set_notification_on;
+ decltype(&::spd_set_voice_rate) spd_set_voice_rate;
+ decltype(&::spd_set_voice_pitch) spd_set_voice_pitch;
+ decltype(&::spd_list_synthesis_voices) spd_list_synthesis_voices;
+ decltype(&::spd_set_synthesis_voice) spd_set_synthesis_voice;
+ decltype(&::spd_list_modules) spd_list_modules;
+ decltype(&::spd_set_output_module) spd_set_output_module;
private:
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_open =
- reinterpret_cast<typeof(this->spd_open)>(
+ reinterpret_cast<decltype(this->spd_open)>(
dlsym(library_, "spd_open"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_say =
- reinterpret_cast<typeof(this->spd_say)>(
+ reinterpret_cast<decltype(this->spd_say)>(
dlsym(library_, "spd_say"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_stop =
- reinterpret_cast<typeof(this->spd_stop)>(
+ reinterpret_cast<decltype(this->spd_stop)>(
dlsym(library_, "spd_stop"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_close =
- reinterpret_cast<typeof(this->spd_close)>(
+ reinterpret_cast<decltype(this->spd_close)>(
dlsym(library_, "spd_close"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_pause =
- reinterpret_cast<typeof(this->spd_pause)>(
+ reinterpret_cast<decltype(this->spd_pause)>(
dlsym(library_, "spd_pause"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_resume =
- reinterpret_cast<typeof(this->spd_resume)>(
+ reinterpret_cast<decltype(this->spd_resume)>(
dlsym(library_, "spd_resume"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_set_notification_on =
- reinterpret_cast<typeof(this->spd_set_notification_on)>(
+ reinterpret_cast<decltype(this->spd_set_notification_on)>(
dlsym(library_, "spd_set_notification_on"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_set_voice_rate =
- reinterpret_cast<typeof(this->spd_set_voice_rate)>(
+ reinterpret_cast<decltype(this->spd_set_voice_rate)>(
dlsym(library_, "spd_set_voice_rate"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_set_voice_pitch =
- reinterpret_cast<typeof(this->spd_set_voice_pitch)>(
+ reinterpret_cast<decltype(this->spd_set_voice_pitch)>(
dlsym(library_, "spd_set_voice_pitch"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_list_synthesis_voices =
- reinterpret_cast<typeof(this->spd_list_synthesis_voices)>(
+ reinterpret_cast<decltype(this->spd_list_synthesis_voices)>(
dlsym(library_, "spd_list_synthesis_voices"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_set_synthesis_voice =
- reinterpret_cast<typeof(this->spd_set_synthesis_voice)>(
+ reinterpret_cast<decltype(this->spd_set_synthesis_voice)>(
dlsym(library_, "spd_set_synthesis_voice"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_list_modules =
- reinterpret_cast<typeof(this->spd_list_modules)>(
+ reinterpret_cast<decltype(this->spd_list_modules)>(
dlsym(library_, "spd_list_modules"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DLOPEN)
spd_set_output_module =
- reinterpret_cast<typeof(this->spd_set_output_module)>(
+ reinterpret_cast<decltype(this->spd_set_output_module)>(
dlsym(library_, "spd_set_output_module"));
#endif
#if defined(LIBRARY_LOADER_OUT_RELEASE_GEN_LIBRARY_LOADERS_LIBSPEECHD_H_DT_NEEDED)