mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
c7f9293e9c
- GetMeter dynamically detects STRING meters now (no need to use tolua.cast any longer) - Removed unneeded (and undocumented) functions to exposed to Lua - Refactored tolua++ generated code
19 lines
544 B
C++
19 lines
544 B
C++
#ifndef __LUAPUSH_H__
|
|
#define __LUAPUSH_H__
|
|
|
|
#include <stdio.h>
|
|
#include <string>
|
|
|
|
#include "lua.hpp"
|
|
#include "tolua++.h"
|
|
|
|
std::wstring to_wstring(lua_State* L, int arg, void* type);
|
|
void push_wstring(lua_State* L, const std::wstring& value);
|
|
int is_wstring(lua_State* L, int lo, const char* type, int def, tolua_Error* err);
|
|
|
|
void push_wchar(lua_State* L, const WCHAR* value);
|
|
const WCHAR* to_wchar(lua_State* L, int arg, void* type);
|
|
int is_wchar(lua_State* L, int lo, const char* type, int def, tolua_Error* err);
|
|
|
|
#endif
|