This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
regcomp.c: Revise API for static function
authorKarl Williamson <public@khwilliamson.com>
Wed, 1 Aug 2012 20:49:39 +0000 (14:49 -0600)
committerKarl Williamson <public@khwilliamson.com>
Thu, 2 Aug 2012 15:24:53 +0000 (09:24 -0600)
commitb9e8c997b9a1c15e919ad20df9ba2f1501c64d76
treeccbdd2a8d3502df647e6f1edc4f7c29c3bf44c20
parent26faadbdfacc510abb04832e4c81d1f71329c697
regcomp.c: Revise API for static function

This is to allow future changes.   The function now returns success or
failure, and the created regnode (if any) is set via a parameter
pointer.

I removed the 'register' declaration to get this to work, because
such declarations are considered bad form these days, e.g.,
http://stackoverflow.com/questions/314994/whats-a-good-example-of-register-variable-usage-in-c
embed.fnc
embed.h
proto.h
regcomp.c