diff options
author | Ronan Collobert <ronan@collobert.com> | 2012-08-09 14:45:51 +0400 |
---|---|---|
committer | Ronan Collobert <ronan@collobert.com> | 2012-08-09 14:45:51 +0400 |
commit | 7c8ceefedc2d7a1d2c9e0d8d891129d00df5d8d5 (patch) | |
tree | 925820194042745355abaeb53eb44edf584aa438 | |
parent | e766c1dc86d5bfe09a45c89e461e630482e6940f (diff) |
removed id mechanism from luaT
-rw-r--r-- | packages/qttorch/qttorch.cpp | 14 |
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) |