summaryrefslogtreecommitdiff
path: root/ext/com/conversion.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/com/conversion.h')
-rw-r--r--ext/com/conversion.h18
1 files changed, 7 insertions, 11 deletions
diff --git a/ext/com/conversion.h b/ext/com/conversion.h
index fc98827199..a972b77596 100644
--- a/ext/com/conversion.h
+++ b/ext/com/conversion.h
@@ -1,18 +1,14 @@
#ifndef CONVERSION_H
#define CONVERSION_H
-#ifdef __cplusplus
-extern "C" {
-#endif
+BEGIN_EXTERN_C()
-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);
+extern void php_pval_to_variant(pval *pval_arg, VARIANT *var_arg);
+extern void php_pval_to_variant_ex(pval *pval_arg, VARIANT *var_arg, pval *pval_type);
+extern void php_variant_to_pval(VARIANT *var_arg, pval *pval_arg, int persistent);
+extern OLECHAR *php_char_to_OLECHAR(char *C_str, uint strlen);
+extern char *php_OLECHAR_to_char(OLECHAR *unicode_str, uint *out_length, int persistent);
-#ifdef __cplusplus
-}
-#endif
+END_EXTERN_C()
#endif \ No newline at end of file