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

@@ -502,7 +502,7 @@ encode_type (const char *name, const Type *t, const char *tmpstr)
void
generate_type_encode (const Symbol *s)
{
fprintf (codefile, "int\n"
fprintf (codefile, "int ASN1CALL\n"
"encode_%s(unsigned char *p, size_t len,"
" const %s *data, size_t *size)\n"
"{\n",