Run perl regen.pl after removing regcurly from embed.fnc.
authorAndy Dougherty <doughera@lafayette.edu>
Wed, 22 Sep 2010 17:45:47 +0000 (13:45 -0400)
committerAndy Dougherty <doughera@lafayette.edu>
Wed, 22 Sep 2010 17:45:47 +0000 (13:45 -0400)
Since regcurly is now a static inline function, it no longer
needs to appear in embed.fnc.  embed.pl doesn't quite have the
right flags to deal with static inline functions, so I just
removed regcurly entirely.  It's not for embedding or exporting
anyway.

embed.h
global.sym
proto.h

diff --git a/embed.h b/embed.h
index 89ae16b..d269611 100644 (file)
--- a/embed.h
+++ b/embed.h
@@ -43,9 +43,6 @@
 #endif
 #define get_context            Perl_get_context
 #define set_context            Perl_set_context
-#if defined(PERL_CORE) || defined(PERL_EXT)
-#define regcurly               Perl_regcurly
-#endif
 #define amagic_call            Perl_amagic_call
 #define Gv_AMupdate            Perl_Gv_AMupdate
 #define gv_handler             Perl_gv_handler
 #define get_context            Perl_get_context
 #define set_context            Perl_set_context
 #if defined(PERL_CORE) || defined(PERL_EXT)
-#define regcurly               Perl_regcurly
-#endif
-#if defined(PERL_CORE) || defined(PERL_EXT)
 #endif
 #define amagic_call(a,b,c,d)   Perl_amagic_call(aTHX_ a,b,c,d)
 #define Gv_AMupdate(a,b)       Perl_Gv_AMupdate(aTHX_ a,b)
index 4670985..db75a27 100644 (file)
@@ -31,7 +31,6 @@ Perl_realloc
 Perl_mfree
 Perl_get_context
 Perl_set_context
-Perl_regcurly
 Perl_try_amagic_bin
 Perl_try_amagic_un
 Perl_amagic_call
diff --git a/proto.h b/proto.h
index 6b1e25b..91dae7c 100644 (file)
--- a/proto.h
+++ b/proto.h
@@ -119,13 +119,6 @@ PERL_CALLCONV void Perl_set_context(void *t)
 #define PERL_ARGS_ASSERT_SET_CONTEXT   \
        assert(t)
 
-PERL_CALLCONV I32      Perl_regcurly(const char *s)
-                       __attribute__warn_unused_result__
-                       __attribute__pure__
-                       __attribute__nonnull__(1);
-#define PERL_ARGS_ASSERT_REGCURLY      \
-       assert(s)
-
 
 END_EXTERN_C