Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

do not define return type

When trying to install via panda it tries to precompile the module.
At this stage it thinks the sub would return a Str, so it breaks.
Inline::C should handle this some day, but trying now without return type.
  • Loading branch information...
commit e84c81ec7621ba028276a57b6d199949ac734a07 1 parent cceae3c
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/SDL/Surface.pm6
2  lib/SDL/Surface.pm6
@@ -233,7 +233,7 @@ DLLEXPORT void *GetBuf( const void *from, void *to, size_t len )
-our sub _get_pointer( int ) returns OpaquePointer is inline('C') {'
+our sub _get_pointer( int ) is inline('C') {'
DLLEXPORT void *GetPointer( size_t len )
return (void *)len;
Please sign in to comment.
Something went wrong with that request. Please try again.