Permalink
Browse files

Fixed return type of Parrot_pf_podds_read_dde() so it's a PackFile_Po…

…dds_DDE *.
  • Loading branch information...
soh-cah-toa committed Sep 5, 2011
1 parent 73398fd commit d4ba40a9952921521cd976b8942998eac87d5d5d
Showing with 5 additions and 3 deletions.
  1. +2 −1 include/parrot/packfile.h
  2. +3 −2 src/packfile/api.c
@@ -841,7 +841,8 @@ PackFile * Parrot_pf_new(PARROT_INTERP, INTVAL is_mapped)
PARROT_EXPORT
PARROT_WARN_UNUSED_RESULT
-void Parrot_pf_podds_read_dde(PARROT_INTERP, ARGIN(PackFile_ByteCode *seg))
+PackFile_Podds_DDE * Parrot_pf_podds_read_dde(PARROT_INTERP,
+ ARGIN(PackFile_ByteCode *seg))
__attribute__nonnull__(1)
__attribute__nonnull__(2);
View
@@ -1767,7 +1767,8 @@ Parrot_pf_podds_write_dde(PARROT_INTERP, ARGIN(PackFile_Podds_DDE *dde))
/*
-=item C<void Parrot_pf_podds_read_dde(PARROT_INTERP, PackFile_ByteCode *seg)>
+=item C<PackFile_Podds_DDE * Parrot_pf_podds_read_dde(PARROT_INTERP,
+PackFile_ByteCode *seg)>
Reads a Data Description Entity (DDE) from the PODDS segment.
@@ -1780,7 +1781,7 @@ Reads a Data Description Entity (DDE) from the PODDS segment.
PARROT_EXPORT
PARROT_WARN_UNUSED_RESULT
-void
+PackFile_Podds_DDE *
Parrot_pf_podds_read_dde(PARROT_INTERP, ARGIN(PackFile_ByteCode *seg))
{
ASSERT_ARGS(Parrot_pf_podds_read_dde)

0 comments on commit d4ba40a

Please sign in to comment.