Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit bfcedc5
Showing
22 changed files
with
8,449 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
# Created by .ignore support plugin (hsz.mobi) | ||
### JetBrains template | ||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm | ||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 | ||
|
||
# User-specific stuff: | ||
.idea/workspace.xml | ||
.idea/tasks.xml | ||
.idea/dictionaries | ||
.idea/vcs.xml | ||
.idea/jsLibraryMappings.xml | ||
|
||
# Sensitive or high-churn files: | ||
.idea/dataSources.ids | ||
.idea/dataSources.xml | ||
.idea/dataSources.local.xml | ||
.idea/sqlDataSources.xml | ||
.idea/dynamic.xml | ||
.idea/uiDesigner.xml | ||
|
||
# Gradle: | ||
.idea/gradle.xml | ||
.idea/libraries | ||
|
||
# Mongo Explorer plugin: | ||
.idea/mongoSettings.xml | ||
|
||
## File-based project format: | ||
*.iws | ||
|
||
## Plugin-specific files: | ||
|
||
# IntelliJ | ||
/out/ | ||
|
||
# mpeltonen/sbt-idea plugin | ||
.idea_modules/ | ||
|
||
# JIRA plugin | ||
atlassian-ide-plugin.xml | ||
|
||
# Crashlytics plugin (for Android Studio and IntelliJ) | ||
com_crashlytics_export_strings.xml | ||
crashlytics.properties | ||
crashlytics-build.properties | ||
fabric.properties | ||
### Perl template | ||
/blib/ | ||
/.build/ | ||
_build/ | ||
cover_db/ | ||
inc/ | ||
Build | ||
!Build/ | ||
Build.bat | ||
.last_cover_stats | ||
Makefile | ||
/Makefile.old | ||
/MANIFEST.bak | ||
/META.yml | ||
/META.json | ||
MYMETA.* | ||
nytprof.out | ||
/pm_to_blib | ||
*.o | ||
*.bs | ||
/_eumm/ | ||
### C template | ||
# Object files | ||
*.o | ||
*.ko | ||
*.obj | ||
*.elf | ||
|
||
# Precompiled Headers | ||
*.gch | ||
*.pch | ||
|
||
# Libraries | ||
*.lib | ||
*.a | ||
*.la | ||
*.lo | ||
|
||
# Shared objects (inc. Windows DLLs) | ||
*.dll | ||
*.so | ||
*.so.* | ||
*.dylib | ||
|
||
# Executables | ||
*.exe | ||
*.out | ||
*.app | ||
*.i*86 | ||
*.x86_64 | ||
*.hex | ||
|
||
# Debug files | ||
*.dSYM/ | ||
*.su | ||
|
||
CMakeLists.txt |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Revision history for Perl extension Sort::Naturally::XS. | ||
|
||
0.01 Sat Oct 22 21:59:46 2016 | ||
- original version; created by h2xs 1.23 with options | ||
-O -n Sort::Naturally::XS ./Sort-Naturally-XS/src/nsort.h | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Changes | ||
Makefile.PL | ||
MANIFEST | ||
ppport.h | ||
README | ||
XS.xs | ||
t/Sort-Naturally-XS.t | ||
fallback/const-c.inc | ||
fallback/const-xs.inc | ||
lib/Sort/Naturally/XS.pm | ||
src/Makefile.PL | ||
src/libnsort.c | ||
src/libnsort.h |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
use 5.018002; | ||
use ExtUtils::MakeMaker; | ||
# See lib/ExtUtils/MakeMaker.pm for details of how to influence | ||
# the contents of the Makefile that is written. | ||
WriteMakefile( | ||
NAME => 'Sort::Naturally::XS', | ||
VERSION_FROM => 'lib/Sort/Naturally/XS.pm', # finds $VERSION | ||
PREREQ_PM => {}, # e.g., Module::Name => 1.1 | ||
($] >= 5.005 ? ## Add these new keywords supported since 5.005 | ||
(ABSTRACT_FROM => 'lib/Sort/Naturally/XS.pm', # retrieve abstract from module | ||
AUTHOR => 'oper <oper@(none)>') : ()), | ||
LIBS => [''], # e.g., '-lm' | ||
DEFINE => '', # e.g., '-DHAVE_SOMETHING' | ||
INC => '-I.', # e.g., '-I. -I/usr/include/other' | ||
# Un-comment this if you add C files to link with later: | ||
# OBJECT => '$(O_FILES)', # link all the C files too | ||
'MYEXTLIB' => 'src/libnsort$(LIB_EXT)', | ||
); | ||
if (eval { | ||
require ExtUtils::Constant; | ||
1 | ||
}) { | ||
# If you edit these definitions to change the constants used by this module, | ||
# you will need to use the generated const-c.inc and const-xs.inc | ||
# files to replace their "fallback" counterparts before distributing your | ||
# changes. | ||
my @names = (qw()); | ||
ExtUtils::Constant::WriteConstants( | ||
NAME => 'Sort::Naturally::XS', | ||
NAMES => \@names, | ||
DEFAULT_TYPE => 'IV', | ||
C_FILE => 'const-c.inc', | ||
XS_FILE => 'const-xs.inc', | ||
); | ||
|
||
} | ||
else { | ||
use File::Copy; | ||
use File::Spec; | ||
foreach my $file ('const-c.inc', 'const-xs.inc') { | ||
my $fallback = File::Spec->catfile( 'fallback', $file ); | ||
copy ($fallback, $file) or die "Can't copy $fallback to $file: $!"; | ||
} | ||
} | ||
sub MY::postamble { | ||
' | ||
$(MYEXTLIB): src/Makefile | ||
cd src && $(MAKE) $(PASSTHRU) | ||
'; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
Sort-Naturally-XS version 0.01 | ||
============================== | ||
|
||
The README is used to introduce the module and provide instructions on | ||
how to install the module, any machine dependencies it may have (for | ||
example C compilers and installed libraries) and any other information | ||
that should be provided before the module is installed. | ||
|
||
A README file is required for CPAN modules since CPAN extracts the | ||
README file from a module distribution so that people browsing the | ||
archive can use it get an idea of the modules uses. It is usually a | ||
good idea to provide version information here so that people can | ||
decide whether fixes for the module are worth downloading. | ||
|
||
INSTALLATION | ||
|
||
To install this module type the following: | ||
|
||
perl Makefile.PL | ||
make | ||
make test | ||
make install | ||
|
||
DEPENDENCIES | ||
|
||
This module requires these other modules and libraries: | ||
|
||
blah blah blah | ||
|
||
COPYRIGHT AND LICENCE | ||
|
||
Put the correct copyright and licence information here. | ||
|
||
Copyright (C) 2016 by oper | ||
|
||
This library is free software; you can redistribute it and/or modify | ||
it under the same terms as Perl itself, either Perl version 5.18.2 or, | ||
at your option, any later version of Perl 5 you may have available. | ||
|
||
|
Oops, something went wrong.