mirror of
https://github.com/love2d/love-android.git
synced 2026-08-19 20:20:25 +02:00
updated physfs to inofficial 2.1 version
This commit is contained in:
File diff suppressed because it is too large
Load Diff
Executable
+21
@@ -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;
|
||||
|
||||
Executable
+19
@@ -0,0 +1,19 @@
|
||||
#!/usr/bin/ruby
|
||||
|
||||
require 'physfs'
|
||||
|
||||
puts "testing PhysicsFS Ruby bindings..."
|
||||
puts "init..."
|
||||
|
||||
Physfs.init($0)
|
||||
|
||||
puts "user dir: " + Physfs.getUserDir()
|
||||
puts "base dir: " + Physfs.getBaseDir()
|
||||
puts "pref dir: " + Physfs.getPrefDir("icculus.org", "test_physfs")
|
||||
|
||||
puts "deinit..."
|
||||
Physfs.deinit()
|
||||
|
||||
puts "done!"
|
||||
exit(0)
|
||||
|
||||
Reference in New Issue
Block a user