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

@@ -180,7 +180,7 @@ generate_type_free (const Symbol *s)
{
int preserve = preserve_type(s->name) ? TRUE : FALSE;
fprintf (codefile, "void\n"
fprintf (codefile, "void ASN1CALL\n"
"free_%s(%s *data)\n"
"{\n",
s->gen_name, s->gen_name);