Export and calling convention annotation for lib/asn1

This commit is contained in:
Asanka Herath
2010-07-07 20:34:58 -04:00
parent 5dcc605f6b
commit 3d83131be8
8 changed files with 50 additions and 17 deletions

View File

@@ -231,7 +231,7 @@ generate_type_copy (const Symbol *s)
used_fail = 0;
fprintf (codefile, "int\n"
fprintf (codefile, "int ASN1CALL\n"
"copy_%s(const %s *from, %s *to)\n"
"{\n"
"memset(to, 0, sizeof(*to));\n",