summaryrefslogtreecommitdiff
path: root/ext/com/conversion.h
diff options
context:
space:
mode:
authorHarald Radi <phanto@php.net>2001-01-28 03:24:51 +0000
committerHarald Radi <phanto@php.net>2001-01-28 03:24:51 +0000
commitdac7ab13da334669403076c423ffceae37b15cee (patch)
tree8d18714af2a775cad5e28a4aee19717f45f4f4ea /ext/com/conversion.h
parent622ff39185da53fabac02b5e9be766cc82d73c18 (diff)
downloadphp-git-dac7ab13da334669403076c423ffceae37b15cee.tar.gz
fixed unicodeconversion and parameter passing bugs in com and dotnet modules
Diffstat (limited to 'ext/com/conversion.h')
-rw-r--r--ext/com/conversion.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ext/com/conversion.h b/ext/com/conversion.h
new file mode 100644
index 0000000000..fc98827199
--- /dev/null
+++ b/ext/com/conversion.h
@@ -0,0 +1,18 @@
+#ifndef CONVERSION_H
+#define CONVERSION_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+void php_pval_to_variant(pval *pval_arg, VARIANT *var_arg);
+void php_pval_to_variant_ex(pval *pval_arg, VARIANT *var_arg, pval *pval_type);
+void php_variant_to_pval(VARIANT *var_arg, pval *pval_arg, int persistent);
+OLECHAR *php_char_to_OLECHAR(char *C_str, uint strlen);
+char *php_OLECHAR_to_char(OLECHAR *unicode_str, uint *out_length, int persistent);
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif \ No newline at end of file