Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/torch/qtlua.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonan Collobert <ronan@collobert.com>2012-08-09 14:45:51 +0400
committerRonan Collobert <ronan@collobert.com>2012-08-09 14:45:51 +0400
commit7c8ceefedc2d7a1d2c9e0d8d891129d00df5d8d5 (patch)
tree925820194042745355abaeb53eb44edf584aa438
parente766c1dc86d5bfe09a45c89e461e630482e6940f (diff)
removed id mechanism from luaT
-rw-r--r--packages/qttorch/qttorch.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/packages/qttorch/qttorch.cpp b/packages/qttorch/qttorch.cpp
index 0739774..b97ca63 100644
--- a/packages/qttorch/qttorch.cpp
+++ b/packages/qttorch/qttorch.cpp
@@ -10,13 +10,13 @@
#include "TH.h"
#include "luaT.h"
-static const void* torch_ByteTensor_id;
-static const void* torch_CharTensor_id;
-static const void* torch_ShortTensor_id;
-static const void* torch_IntTensor_id;
-static const void* torch_LongTensor_id;
-static const void* torch_FloatTensor_id;
-static const void* torch_DoubleTensor_id;
+static const char* torch_ByteTensor_id;
+static const char* torch_CharTensor_id;
+static const char* torch_ShortTensor_id;
+static const char* torch_IntTensor_id;
+static const char* torch_LongTensor_id;
+static const char* torch_FloatTensor_id;
+static const char* torch_DoubleTensor_id;
#define torch_(NAME) TH_CONCAT_3(torch_, Real, NAME)
#define qttorch_(NAME) TH_CONCAT_3(qttorch_, Real, NAME)