🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Comparing pointers in lua

Started by
1 comment, last by bad_camel 20 years, 1 month ago
I''m using luabind to bind a whole bunch of functions/classes/enums/etc to lua. In lua I need to compare two pointers, but I keep getting an error saying "no operator == matched the arguments ( class type, class type )", where class type is obviously the class type of the pointers I''m trying to compare. Am I missing something obvious?
Advertisement
Hullo,

I was having this problem too, but did not know the solution,
Why do you need to compare two pointers? I''m not exactly sure how this problem arises.

[ MSVC Fixes | STL Docs | SDL | Game AI | Sockets | C++ Faq Lite | Boost
Asking Questions | Organising code files | My stuff | Tiny XML | STLPort]

This topic is closed to new replies.

Advertisement