]> granicus.if.org Git - php/commitdiff
fix .net build
authorWez Furlong <wez@php.net>
Thu, 14 Aug 2003 20:31:38 +0000 (20:31 +0000)
committerWez Furlong <wez@php.net>
Thu, 14 Aug 2003 20:31:38 +0000 (20:31 +0000)
ext/com_dotnet/com_dotnet.c

index 7d367ad6f8d90dcc88063663d1eb057cd6a83607..a30237dd697ee27313421b8f5b8fc05bb963aa68 100644 (file)
@@ -109,7 +109,7 @@ PHP_FUNCTION(com_dotnet_create_instance)
 
        if (COMG(dotnet_runtime_stuff) == NULL) {
                if (FAILURE == dotnet_init(TSRMLS_C)) {
-                       com_throw_exception("Failed to initialize .Net runtime" TSRMLS_CC);
+                       php_com_throw_exception("Failed to initialize .Net runtime" TSRMLS_CC);
                        ZVAL_NULL(object);
                        return;
                }
@@ -123,7 +123,7 @@ PHP_FUNCTION(com_dotnet_create_instance)
                        &assembly_name, &assembly_name_len,
                        &datatype_name, &datatype_name_len,
                        &obj->code_page)) {
-               com_throw_exception("Could not create .Net object - invalid arguments!" TSRMLS_CC);
+               php_com_throw_exception("Could not create .Net object - invalid arguments!" TSRMLS_CC);
                ZVAL_NULL(object);
                return;
        }
@@ -171,7 +171,7 @@ PHP_FUNCTION(com_dotnet_create_instance)
        VariantClear(&vargs[1]);
 
        if (ret == FAILURE) {
-               com_throw_exception("Failed to instantiate .Net object" TSRMLS_CC);
+               php_com_throw_exception("Failed to instantiate .Net object" TSRMLS_CC);
                ZVAL_NULL(object);
                return;
        }