/[Sims3RigEditor]/trunk/gr2lib_cpp/GrannyAPILogger.cpp
ViewVC logotype

Diff of /trunk/gr2lib_cpp/GrannyAPILogger.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

--- trunk/gr2lib_cpp/GrannyAPILogger.cpp	2010/07/30 00:28:19	6
+++ trunk/gr2lib_cpp/GrannyAPILogger.cpp	2010/07/31 01:44:00	7
@@ -1,16 +1,17 @@
 #include "StdAfx.h"
 #include "GrannyAPILogger.h"
-GRANNY_CALLBACK(void) Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData);
+
+void __cdecl  Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData);
 
 GrannyAPILogger::GrannyAPILogger(void)
 {
 	granny_log_callback NewCallback;
-    NewCallback.Function = Callback;
-    NewCallback.UserData = NULL;
-    GrannySetLogCallback(&NewCallback);
+	NewCallback.Function = Callback;
+	NewCallback.UserData = NULL;
+	GrannySetLogCallback(&NewCallback);
 }
 
-GRANNY_CALLBACK(void) Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData)
+void __cdecl Callback(granny_log_message_type Type, granny_log_message_origin Origin, char const * Message, void * UserData)
 {
 	assert(Message);
 }
\ No newline at end of file

 

  ViewVC Help
Powered by ViewVC 1.1.22