Permalink
Browse files

Have dyncall stuff figure out the .so. Makes it more cross-platform

  • Loading branch information...
1 parent 7b1137d commit 2dc9414472dc0d792b01b4622b6fbc44bb2a3c1f @tadzik committed Apr 1, 2012
Showing with 11 additions and 11 deletions.
  1. +11 −11 lib/MPD.pm
View
22 lib/MPD.pm
@@ -37,43 +37,43 @@ class MPD {
sub mpd_connection_new(Str $host, Int $port)
returns OpaquePointer
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_connection_free(OpaquePointer)
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_connection_get_error(OpaquePointer)
returns Int
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_connection_get_error_message(OpaquePointer)
returns Str
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_run_current_song(OpaquePointer)
returns OpaquePointer
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_song_free(OpaquePointer)
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_song_get_uri(OpaquePointer)
returns Str
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_song_get_id(OpaquePointer)
returns Int
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_run_status(OpaquePointer)
returns OpaquePointer
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_status_free(OpaquePointer)
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
sub mpd_status_get_state(OpaquePointer)
returns Int
- is native('libmpdclient.so') { ... }
+ is native('libmpdclient') { ... }
# vim: ft=perl6

0 comments on commit 2dc9414

Please sign in to comment.