Page Menu
Home
Phabricator (Chris)
Search
Configure Global Search
Log In
Files
F132050
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
945 B
Referenced Files
None
Subscribers
None
View Options
diff --git a/src/ScriptUserData.cpp b/src/ScriptUserData.cpp
new file mode 100644
index 0000000..bb85865
--- /dev/null
+++ b/src/ScriptUserData.cpp
@@ -0,0 +1,25 @@
+#include "ScriptUserData.h"
+#include <stdio.h>
+
+//Some debug functions
+void scriptUserClassDebugCreate(char sig1,char sig2,char sig3,char sig4,const void* p1,const void* p2) {
+#ifdef _DEBUG
+ printf("ScriptUserClass '%c%c%c%c' (%p) created userdata: %p\n",
+ sig1,sig2,sig3,sig4,p1,p2);
+#endif
+}
+
+void scriptUserClassDebugInvalidate(char sig1,char sig2,char sig3,char sig4,const void* p1,const void* p2) {
+#ifdef _DEBUG
+ printf("ScriptUserClass '%c%c%c%c' (%p) invalidated userdata: %p\n",
+ sig1,sig2,sig3,sig4,p1,p2);
+#endif
+}
+
+void scriptUserClassDebugUnlink(char sig1,char sig2,char sig3,char sig4,const void* p1,const void* p2) {
+#ifdef _DEBUG
+ printf("ScriptUserClass '%c%c%c%c' (%p) unlinked userdata: %p\n",
+ sig1,sig2,sig3,sig4,p1,p2);
+#endif
+}
+
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Tue, Jun 16, 12:27 AM (2 w, 1 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
71490
Default Alt Text
(945 B)
Attached To
Mode
R79 meandmyshadow
Attached
Detach File
Event Timeline