Skip to content

Commit

Permalink
submodule test
Browse files Browse the repository at this point in the history
  • Loading branch information
mnunberg committed Apr 6, 2012
1 parent 1a2501d commit 87f4838
Show file tree
Hide file tree
Showing 12 changed files with 21 additions and 17 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
@@ -0,0 +1,3 @@
[submodule "jsonsl"]
path = jsonsl
url = git://github.com/mnunberg/jsonsl.git
6 changes: 6 additions & 0 deletions Changes
@@ -1,4 +1,10 @@
Revision history for JSON-SL Revision history for JSON-SL
0.04 april 6 2012
Added left-out dependency

0.03 april 6 2012
Tuba

0.02 april 4 2012 0.02 april 4 2012
Added object drip, some more work on tuba Added object drip, some more work on tuba


Expand Down
7 changes: 4 additions & 3 deletions MANIFEST
Expand Up @@ -11,13 +11,14 @@ srcutil/method_dispatch.pl
srcutil/accessors.pl srcutil/accessors.pl


srcout/option_accessors.xs srcout/option_accessors.xs
srcout/tuba_dispatch_getmeth.h


perl-jsonsl.h perl-jsonsl.h
jsonxs_inline.h jsonxs_inline.h
tuba_dispatch_getmeth.h


jsonsl.h jsonsl/jsonsl.c
jsonsl.c jsonsl/jsonsl.h

ppport.h ppport.h


SL.xs SL.xs
Expand Down
1 change: 1 addition & 0 deletions Makefile.PL
Expand Up @@ -20,6 +20,7 @@ WriteMakefile(
# OPTIMIZE => '-Wall -ggdb3 -O3 -std=gnu89 -pedantic', # OPTIMIZE => '-Wall -ggdb3 -O3 -std=gnu89 -pedantic',
PREREQ_PM => { PREREQ_PM => {
'Test::More' => 0, 'Test::More' => 0,
'Constant::Generate' => '0.16'
}, },
dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', }, dist => { COMPRESS => 'gzip -9f', SUFFIX => 'gz', },
clean => { FILES => 'JSON-SL-*' }, clean => { FILES => 'JSON-SL-*' },
Expand Down
2 changes: 1 addition & 1 deletion SL.xs
Expand Up @@ -809,7 +809,7 @@ pltuba_get_method_info(PLTUBA *tuba,
goto GT_RETASGN; goto GT_RETASGN;
} }
#define PLTUBA_METH_GETMETH #define PLTUBA_METH_GETMETH
#include "tuba_dispatch_getmeth.h" #include "srcout/tuba_dispatch_getmeth.h"
#undef PLTUBA_METH_GETMETH #undef PLTUBA_METH_GETMETH
GT_RETASGN: GT_RETASGN:
if (gvpp) { if (gvpp) {
Expand Down
1 change: 1 addition & 0 deletions jsonsl
1 change: 0 additions & 1 deletion jsonsl.c

This file was deleted.

1 change: 0 additions & 1 deletion jsonsl.h

This file was deleted.

2 changes: 1 addition & 1 deletion lib/JSON/SL.pm
Expand Up @@ -16,7 +16,7 @@ use base qw(Exporter);
our @EXPORT_OK = qw(decode_json unescape_json_string); our @EXPORT_OK = qw(decode_json unescape_json_string);


BEGIN { BEGIN {
$VERSION = '0.0_3'; $VERSION = '0.0_4';
require XSLoader; require XSLoader;
XSLoader::load(__PACKAGE__, $VERSION); XSLoader::load(__PACKAGE__, $VERSION);
} }
Expand Down
6 changes: 0 additions & 6 deletions lib/JSON/SL/Tuba.pm
Expand Up @@ -2,8 +2,6 @@ package JSON::SL::Tuba;
use strict; use strict;
use warnings; use warnings;
use JSON::SL; use JSON::SL;
use Data::Dumper;
use Log::Fu;
use base qw(Exporter); use base qw(Exporter);
our @EXPORT; our @EXPORT;


Expand Down Expand Up @@ -109,10 +107,6 @@ foreach (['key', '#'],
} }
} }


sub on_any {
log_warn("Unhandled..");
}

1; 1;


__END__ __END__
Expand Down
8 changes: 4 additions & 4 deletions perl-jsonsl.h
Expand Up @@ -59,8 +59,8 @@
* non-exportable * non-exportable
*/ */
#define JSONSL_API static #define JSONSL_API static
#include "jsonsl.h" #include "jsonsl/jsonsl.h"
#include "jsonsl.c" #include "jsonsl/jsonsl.c"


/** /**
* For threaded perls, this stores the THX/my_perl context * For threaded perls, this stores the THX/my_perl context
Expand Down Expand Up @@ -204,7 +204,7 @@ typedef enum {




#define PLTUBA_DEFINE_XMETHGV #define PLTUBA_DEFINE_XMETHGV
#include "tuba_dispatch_getmeth.h" #include "srcout/tuba_dispatch_getmeth.h"
#undef PLTUBA_DEFINE_XMETHGV #undef PLTUBA_DEFINE_XMETHGV


/* These are stringified as the 'Info' keys */ /* These are stringified as the 'Info' keys */
Expand Down Expand Up @@ -256,7 +256,7 @@ typedef struct {
} options; } options;


#define PLTUBA_METHGV_STRUCT #define PLTUBA_METHGV_STRUCT
#include "tuba_dispatch_getmeth.h" #include "srcout/tuba_dispatch_getmeth.h"
#undef PLTUBA_METHGV_STRUCT #undef PLTUBA_METHGV_STRUCT
/* The accumulators */ /* The accumulators */
SV *accum; SV *accum;
Expand Down
File renamed without changes.

0 comments on commit 87f4838

Please sign in to comment.