updated physfs to inofficial 2.1 version

This commit is contained in:
fysx
2014-02-02 01:28:41 +01:00
parent 405c79a8fe
commit c9bb6ec3d6
553 changed files with 13324 additions and 26719 deletions
+21
View File
@@ -0,0 +1,21 @@
#!/usr/bin/perl -w
use strict;
use warnings;
use physfs;
print "testing PhysicsFS Perl bindings...\n";
print "init...\n";
physfs::init("$0") or die("physfs::init('$0'): ".physfs::getLastError()."\n");
print "user dir: ", physfs::getUserDir(), "\n";
print "base dir: ", physfs::getBaseDir(), "\n";
print "pref dir: ", physfs::getPrefDir("icculus.org", "test_physfs"), "\n";
print "deinit...\n";
physfs::deinit();
print "done!\n";
exit 0;