INTERN.h Included before domestic .h files
MANIFEST This list of files
Makefile.SH A script that generates Makefile
-ObjXSub.h Scoping macros for Perl Object in extensions
+objXSUB.h Scoping macros for Perl Object in extensions
Policy_sh.SH Hold site-wide preferences between Configure runs.
Porting/Contract Social contract for contributed modules in Perl core
Porting/Glossary Glossary of config.sh variables
README.win32 Notes about Win32 port
Todo The Wishlist
Todo-5.005 What needs doing before 5.005 release
-XSLock.h Include file for extensions built with PERL_OBJECT defined
+XSlock.h Include file for extensions built with PERL_OBJECT defined
XSUB.h Include file for extension subroutines
av.c Array value code
av.h Array value header
#endif
#ifdef PERL_OBJECT
-#include "ObjXSub.h"
+#include "objXSUB.h"
#ifndef NO_XSLOCKS
#ifdef WIN32
-#include "XSLock.h"
+#include "XSlock.h"
#endif /* WIN32 */
#endif /* NO_XSLOCKS */
#else
#ifdef PERL_CAPI
-#include "PerlCAPI.h"
+#include "perlCAPI.h"
#endif
#endif /* PERL_OBJECT */
-#ifndef __XSLock_h__
-#define __XSLock_h__
+#ifndef __XSlock_h__
+#define __XSlock_h__
class XSLockManager
{
my ($self) = @_;
if($OBJ) {
if ($self->{CAPI} eq 'TRUE') {
- return '$(PERL_INC)\PerlCAPI$(LIB_EXT)';
+ return '$(PERL_INC)\perlCAPI$(LIB_EXT)';
}
else {
return '$(PERL_INC)\perlcore$(LIB_EXT)';
-#ifndef __ObjXSub_h__
-#define __ObjXSub_h__
+#ifndef __objXSUB_h__
+#define __objXSUB_h__
/* Varibles */
#define NtGetDebugScriptStr pPerl->NtGetDebugScriptStr
#endif /* WIN32 */
-#endif /* __ObjXSub_h__ */
+#endif /* __objXSUB_h__ */
made transparent to extension developers by the following macros:
#define var pPerl->Perl_var
#define func pPerl->Perl_func
- * these are done in ObjXSub.h
+ * these are done in objXSUB.h
This requires that the extension be compiled as C++, which means
that the code must be ANSI C and not K&R C. For K&R extensions,
please see the C API notes located in Win32/GenCAPI.pl. This script
-creates a PerlCAPI.lib that provides a K & R compatible C interface
+creates a perlCAPI.lib that provides a K & R compatible C interface
to the PERL_OBJECT.
2. Local variables and functions cannot have the same name as perl's
variables or functions since the macros will redefine these. Look for
# creates a C API file from proto.h
# takes one argument, the path to lib/CORE directory.
-# creates 2 files: "PerlCAPI.cpp" and "PerlCAPI.h".
+# creates 2 files: "perlCAPI.cpp" and "perlCAPI.h".
-my $hdrfile = "$ARGV[0]\\PerlCAPI.h";
+my $hdrfile = "$ARGV[0]\\perlCAPI.h";
my $infile = '..\\proto.h';
my $embedfile = '..\\embed.h';
my $separateObj = 0;
return 1;
}
-if (!open(OUTFILE, ">PerlCAPI.cpp")) {
- print "open of PerlCAPI.cpp failed: $!\n";
+if (!open(OUTFILE, ">perlCAPI.cpp")) {
+ print "open of perlCAPI.cpp failed: $!\n";
return 1;
}
!IF "$(OBJECT)" == "-DPERL_OBJECT"
PERLIMPLIB = ..\perlcore.lib
PERLDLL = ..\perlcore.dll
-CAPILIB = $(COREDIR)\PerlCAPI.lib
+CAPILIB = $(COREDIR)\perlCAPI.lib
!ELSE
PERLIMPLIB = ..\perl.lib
PERLDLL = ..\perl.dll
cd ..\..\win32
!IF "$(OBJECT)" == "-DPERL_OBJECT"
-PerlCAPI.cpp : $(MINIPERL)
+perlCAPI.cpp : $(MINIPERL)
$(MINIPERL) GenCAPI.pl $(COREDIR)
-PerlCAPI$(o) : PerlCAPI.cpp
+perlCAPI$(o) : perlCAPI.cpp
$(CC) $(CFLAGS_O) $(RUNTIME) -UPERLDLL -c \
- $(OBJOUT_FLAG)PerlCAPI$(o) PerlCAPI.cpp
+ $(OBJOUT_FLAG)perlCAPI$(o) perlCAPI.cpp
-$(CAPILIB) : PerlCAPI.cpp PerlCAPI$(o)
- lib /OUT:$(CAPILIB) PerlCAPI$(o)
+$(CAPILIB) : perlCAPI.cpp perlCAPI$(o)
+ lib /OUT:$(CAPILIB) perlCAPI$(o)
!ENDIF
$(EXTDIR)\DynaLoader\dl_win32.xs: dl_win32.xs
-@erase perlmain$(o)
-@erase config.w32
-@erase /f config.h
- -@erase PerlCAPI.cpp
+ -@erase perlCAPI.cpp
-@erase $(GLOBEXE)
-@erase $(PERLEXE)
-@erase $(PERLDLL)
.IF "$(OBJECT)" == "-DPERL_OBJECT"
PERLIMPLIB *= ..\perlcore$(a)
PERLDLL = ..\perlcore.dll
-CAPILIB = $(COREDIR)\PerlCAPI$(a)
+CAPILIB = $(COREDIR)\perlCAPI$(a)
.ELSE
PERLIMPLIB *= ..\perl$(a)
PERLDLL = ..\perl.dll
.IF "$(OBJECT)" == "-DPERL_OBJECT"
-PerlCAPI.cpp : $(MINIPERL)
+perlCAPI.cpp : $(MINIPERL)
$(MINIPERL) GenCAPI.pl $(COREDIR)
-PerlCAPI$(o) : PerlCAPI.cpp
+perlCAPI$(o) : perlCAPI.cpp
.IF "$(CCTYPE)" == "BORLAND"
- $(CC) $(CFLAGS_O) -c $(OBJOUT_FLAG)PerlCAPI$(o) PerlCAPI.cpp
+ $(CC) $(CFLAGS_O) -c $(OBJOUT_FLAG)perlCAPI$(o) perlCAPI.cpp
.ELIF "$(CCTYPE)" == "GCC"
- $(CC) $(CFLAGS_O) -c $(OBJOUT_FLAG)PerlCAPI$(o) PerlCAPI.cpp
+ $(CC) $(CFLAGS_O) -c $(OBJOUT_FLAG)perlCAPI$(o) perlCAPI.cpp
.ELSE
$(CC) $(CFLAGS_O) $(RUNTIME) -UPERLDLL -c \
- $(OBJOUT_FLAG)PerlCAPI$(o) PerlCAPI.cpp
+ $(OBJOUT_FLAG)perlCAPI$(o) perlCAPI.cpp
.ENDIF
-$(CAPILIB) : PerlCAPI.cpp PerlCAPI$(o)
+$(CAPILIB) : perlCAPI.cpp perlCAPI$(o)
.IF "$(CCTYPE)" == "BORLAND"
- $(LIB32) $(LIBOUT_FLAG)$(CAPILIB) +PerlCAPI$(o)
+ $(LIB32) $(LIBOUT_FLAG)$(CAPILIB) +perlCAPI$(o)
.ELSE
- $(LIB32) $(LIBOUT_FLAG)$(CAPILIB) PerlCAPI$(o)
+ $(LIB32) $(LIBOUT_FLAG)$(CAPILIB) perlCAPI$(o)
.ENDIF
.ENDIF
-@erase $(MINIPERL)
-@erase perlglob$(o)
-@erase perlmain$(o)
- -@erase PerlCAPI.cpp
+ -@erase perlCAPI.cpp
-@erase config.w32
-@erase /f config.h
-@erase $(GLOBEXE)