mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-10-29 17:50:22 +00:00
35 lines
612 B
C++
35 lines
612 B
C++
#include "QPBO.h"
|
|
|
|
#ifdef _MSC_VER
|
|
#pragma warning(disable: 4661)
|
|
#endif
|
|
|
|
// Instantiations
|
|
|
|
template class QPBO<int>;
|
|
template class QPBO<float>;
|
|
template class QPBO<double>;
|
|
|
|
template <>
|
|
inline void QPBO<int>::get_type_information(char*& type_name, char*& type_format)
|
|
{
|
|
type_name = "int";
|
|
type_format = "d";
|
|
}
|
|
|
|
template <>
|
|
inline void QPBO<float>::get_type_information(char*& type_name, char*& type_format)
|
|
{
|
|
type_name = "float";
|
|
type_format = "f";
|
|
}
|
|
|
|
template <>
|
|
inline void QPBO<double>::get_type_information(char*& type_name, char*& type_format)
|
|
{
|
|
type_name = "double";
|
|
type_format = "Lf";
|
|
}
|
|
|
|
|