aseba-test-natives-count.cpp
Go to the documentation of this file.
00001 #include "../vm/natives.h"
00002 
00003 // this prevents a link problem when compiling in debug
00004 void AsebaSendMessage(AsebaVMState *vm, uint16 id, const void *data, uint16 size)
00005 {
00006 }
00007 
00008 int main(int argc, char*argv[])
00009 {
00010         AsebaNativeFunctionPointer defaultNatives[] ={ ASEBA_NATIVES_STD_FUNCTIONS };
00011         size_t nativesCount = (sizeof(defaultNatives)/sizeof(AsebaNativeFunctionPointer));
00012         if (nativesCount != ASEBA_NATIVES_STD_COUNT)
00013                 return 1;
00014         else
00015                 return 0;
00016 }


aseba
Author(s): Stéphane Magnenat
autogenerated on Sun Oct 5 2014 23:46:38