-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathformatters.h
More file actions
18 lines (14 loc) · 879 Bytes
/
Copy pathformatters.h
File metadata and controls
18 lines (14 loc) · 879 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright © 2014 CCP ehf.
#pragma once
#ifndef Formatters_H
#define Formatters_H
#include <iostream>
#include <Python.h>
struct Token;
struct Language;
extern bool SimpleValueFormatter( const Token& token, const Language& lang, PyObject* value, PyObject* kwargs, std::wstringstream& retVal );
extern bool SimpleValueFormatter( const Token& token, const Language& lang, std::wstring& val, PyObject* kwargs, std::wstringstream& retVal );
extern bool DateTimeFormatter( const Token& token, const Language& lang, PyObject* value, PyObject* kwargs, std::wstringstream& retVal );
extern bool MessageFormatter( const Token& token, const Language& lang, PyObject* value, PyObject* kwargs, std::wstringstream& retVal );
extern bool NumericFormatter( const Token& token, const Language& lang, PyObject* value, PyObject* kwargs, std::wstringstream& retVal );
#endif // Formatters_H