]> git.draconx.ca Git - gob-dx.git/blobdiff - src/checks.c
Release 1.0.3
[gob-dx.git] / src / checks.c
index 7c675ee041e20a75ed1fb49b88ad5d3b5a9d1380..8bbe1e4ee07ae94321980f65bd17a6ae6e32e250 100644 (file)
@@ -428,7 +428,8 @@ check_func_arg_check_func_arg(Method *m, FuncArg *fa)
 
                        if(fa->atype->pointer == NULL ||
                           (strcmp(fa->atype->pointer, "*") != 0 &&
-                           strcmp(fa->atype->pointer, "* const") != 0))
+                           strcmp(fa->atype->pointer, "* const") != 0 &&
+                           strcmp(fa->atype->pointer, "const *") != 0))
                                goto type_check_error;
                }
        }