blob: 3453005c00127ef6cfb040f3620789cc053ba7bf [file] [log] [blame]
#ifndef TORCH_UTILS_INC
#define TORCH_UTILS_INC
#include "luaT.h"
#include "TH.h"
#include <lua.h>
#include <lualib.h>
#ifdef LUA_WIN
#else
#include <unistd.h>
#endif
THLongStorage* torch_checklongargs(lua_State *L, int index);
int torch_islongargs(lua_State *L, int index);
const char* torch_getdefaulttensortype(lua_State *L);
#endif