summaryrefslogtreecommitdiff
path: root/ext/com/variant.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-06-24 21:09:17 +0000
committerHarald Radi <phanto@php.net>2001-06-24 21:09:17 +0000
commit3949658942114d2126cd00d069fa230ba9898fd1 (patch)
tree470652d12d29adbed5b1955d7e13753d512c4d9f /ext/com/variant.h
parent5943e68e03bc5535dde28b8cbccf798f24386dc4 (diff)
downloadphp-git-3949658942114d2126cd00d069fa230ba9898fd1.tar.gz
cleanup
added some macros
Diffstat (limited to 'ext/com/variant.h')
-rw-r--r--ext/com/variant.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/com/variant.h b/ext/com/variant.h
new file mode 100644
index 0000000000..ec25ee4e4b
--- /dev/null
+++ b/ext/com/variant.h
@@ -0,0 +1,11 @@
+#ifndef VARIANT_H
+#define VARIANT_H
+
+#if PHP_WIN32
+
+#define ALLOC_VARIANT(v) (v) = (VARIANT *) emalloc(sizeof(VARIANT))
+#define IS_VARIANT php_VARIANT_get_le_variant()
+
+#endif /* PHP_WIN32 */
+
+#endif /* VARIANT_H */