Permalink
Browse files

clean up coda a little

git-svn-id: https://svn.parrot.org/parrot/branches/gsoc_nci@49733 d31e2699-5ff4-0310-a27c-f18f2fbe73fe
  • Loading branch information...
plobsing committed Oct 30, 2010
1 parent 2d5eeb8 commit ce7dc9f71c72c8eeb6607af31f18ecab0c1d5233
Showing with 4 additions and 21 deletions.
  1. +3 −14 config/gen/libffi/nci-ffi.pmc.in
  2. +1 −7 src/pmc/nci.pmc
@@ -162,10 +162,9 @@ build_libffi_func(PARROT_INTERP, ARGMOD(Parrot_NCI_attributes *nci))
}
pmclass NCI auto_attrs provides invokable {
- /* NCI thunk handling attributes */
/* NCI thunk handling attributes */
ATTR PMC *signature;
- ATTR STRING *sig_str; /* The signature. */
+ ATTR STRING *sig_str;
ATTR void *func; /* Function pointer to call. */
ATTR void *orig_func;
ATTR PMC *fb_info; /* Frame-builder info */
@@ -175,9 +174,7 @@ pmclass NCI auto_attrs provides invokable {
/* Parrot Sub-ish attributes */
ATTR STRING *pcc_params_signature;
ATTR STRING *pcc_return_signature;
- ATTR void *arg_translation;
- ATTR void *return_translation;
- ATTR INTVAL arity; /* Cached arity of the NCI. */
+ ATTR INTVAL arity;
/* MMD fields */
ATTR STRING *long_signature; /* The full signature. */
@@ -296,9 +293,7 @@ Free all of the memory used internally to store various things, like libffi call
if (PARROT_NCI(SELF)) {
Parrot_NCI_attributes * const nci_info = PARROT_NCI(SELF);
mem_sys_free(nci_info->cif);
- mem_sys_free(nci_info->arg_translation);
mem_sys_free(nci_info->arg_types);
- mem_sys_free(nci_info->return_translation);
}
}
@@ -815,13 +810,7 @@ Return the arity of the NCI (the number of arguments).
=head1 SEE ALSO
-F<docs/pdds/pdd03_calling_conventions.pod>.
-
-=head1 HISTORY
-
-Initial revision by sean 2002/08/04.
-
-Updates by John Harrison, Summer 2010, GSoC.
+F<docs/pdds/draft/pdd16_native_call.pod>
=cut
View
@@ -810,13 +810,7 @@ Return the arity of the NCI (the number of arguments).
=head1 SEE ALSO
-F<docs/pdds/pdd03_calling_conventions.pod>.
-
-=head1 HISTORY
-
-Initial revision by sean 2002/08/04.
-
-Updates by John Harrison, Summer 2010, GSoC.
+F<docs/pdds/draft/pdd16_native_call.pod>
=cut

0 comments on commit ce7dc9f

Please sign in to comment.