#define init_debugger CPerlObj::init_debugger
#undef init_ids
#define init_ids CPerlObj::init_ids
+#undef init_interp
+#define init_interp CPerlObj::init_interp
#undef init_main_thread
#define init_main_thread CPerlObj::init_main_thread
#undef init_main_stash
init_interp(void)
{
-#if 0
+#ifdef PERL_OBJECT /* XXX kludge */
#define I_REINIT \
STMT_START { \
chopset = " \n-"; \
rsfp = Nullfp; \
rsfp_filters= Nullav; \
} STMT_END
+#else
+# ifdef MULTIPLICITY
+# define PERLVAR(var,type)
+# define PERLVARI(var,type,init) curinterp->var = init;
+# define PERLVARIC(var,type,init) curinterp->var = init;
+# include "intrpvar.h"
+# ifndef USE_THREADS
+# include "thrdvar.h"
+# endif
+# undef PERLVAR
+# undef PERLVARI
+# undef PERLVARIC
+# else
+# define PERLVAR(var,type)
+# define PERLVARI(var,type,init) var = init;
+# define PERLVARIC(var,type,init) var = init;
+# include "intrpvar.h"
+# ifndef USE_THREADS
+# include "thrdvar.h"
+# endif
+# undef PERLVAR
+# undef PERLVARI
+# undef PERLVARIC
+# endif
#endif
-#define PERLVAR(var,type)
-#define PERLVARI(var,type,init) curinterp->var = init;
-#define PERLVARIC(var,type,init) curinterp->var = init;
-#include "intrpvar.h"
-#ifndef USE_THREADS
-# include "thrdvar.h"
-#endif
-#undef PERLVAR
-#undef PERLVARI
-#undef PERLVARIC
-
}
STATIC void
#ifndef MULTIPLICITY
-#ifndef USE_THREADS
-#include "thrdvar.h"
-#endif
+# include "intrpvar.h"
+# ifndef USE_THREADS
+# include "thrdvar.h"
+# endif
-#include "intrpvar.h"
#endif
#ifdef PERL_OBJECT
VIRTUAL int magic_wipepack _((SV* sv, MAGIC* mg));
VIRTUAL void magicname _((char* sym, char* name, I32 namlen));
int main _((int argc, char** argv, char** env));
+#ifdef MYMALLOC
VIRTUAL MEM_SIZE malloced_size _((void *p));
+#endif
VIRTUAL void markstack_grow _((void));
#ifdef USE_LOCALE_COLLATE
VIRTUAL char* mem_collxfrm _((const char* s, STRLEN len, STRLEN* xlen));
safexrealloc
safexfree
Perl_GetVars
+malloced_size
)];
db_hashtype='int'
db_prefixtype='int'
defvoidused='15'
+devtype='dev_t'
direntrytype='struct direct'
dlext='dll'
dlsrc='dl_win32.xs'
db_hashtype='int'
db_prefixtype='int'
defvoidused='15'
+devtype='dev_t'
direntrytype='struct direct'
dlext='dll'
dlsrc='dl_win32.xs'
db_hashtype='int'
db_prefixtype='int'
defvoidused='15'
+devtype='dev_t'
direntrytype='struct direct'
dlext='dll'
dlsrc='dl_win32.xs'
*/
/*#define HAS_MKFIFO /**/
+/* HAS_MKNOD:
+ * This symbol, if defined, indicates that the mknod routine is
+ * available to create character and block special files. Otherwise,
+ * mknod should be able to do it for you. However, if mknod is there,
+ * mknod might require super-user privileges which mknod will not.
+ */
+/*#define HAS_MKNOD /**/
+
/* HAS_MKTIME:
* This symbol, if defined, indicates that the mktime routine is
* available.
*/
#define Gid_t gid_t /* Type for getgid(), etc... */
+/* Dev_t:
+ * This symbol holds the type used to declare device numbers.
+ * It can be int, long, dev_t, etc... It may be necessary to include
+ * <sys/types.h> to get any typedef'ed information.
+ */
+#define Dev_t dev_t /* <device> type */
+
/* Off_t:
* This symbol holds the type used to declare offsets in the kernel.
* It can be int, long, off_t, etc... It may be necessary to include
*/
/*#define HAS_MKFIFO /**/
+/* HAS_MKNOD:
+ * This symbol, if defined, indicates that the mknod routine is
+ * available to create character and block special files. Otherwise,
+ * mknod should be able to do it for you. However, if mknod is there,
+ * mknod might require super-user privileges which mknod will not.
+ */
+/*#define HAS_MKNOD /**/
+
/* HAS_MKTIME:
* This symbol, if defined, indicates that the mktime routine is
* available.
*/
#define Gid_t gid_t /* Type for getgid(), etc... */
+/* Dev_t:
+ * This symbol holds the type used to declare device numbers.
+ * It can be int, long, dev_t, etc... It may be necessary to include
+ * <sys/types.h> to get any typedef'ed information.
+ */
+#define Dev_t dev_t /* <device> type */
+
/* Off_t:
* This symbol holds the type used to declare offsets in the kernel.
* It can be int, long, off_t, etc... It may be necessary to include
*/
/*#define HAS_MKFIFO /**/
+/* HAS_MKNOD:
+ * This symbol, if defined, indicates that the mknod routine is
+ * available to create character and block special files. Otherwise,
+ * mknod should be able to do it for you. However, if mknod is there,
+ * mknod might require super-user privileges which mknod will not.
+ */
+/*#define HAS_MKNOD /**/
+
/* HAS_MKTIME:
* This symbol, if defined, indicates that the mktime routine is
* available.
*/
#define Gid_t gid_t /* Type for getgid(), etc... */
+/* Dev_t:
+ * This symbol holds the type used to declare device numbers.
+ * It can be int, long, dev_t, etc... It may be necessary to include
+ * <sys/types.h> to get any typedef'ed information.
+ */
+#define Dev_t dev_t /* <device> type */
+
/* Off_t:
* This symbol holds the type used to declare offsets in the kernel.
* It can be int, long, off_t, etc... It may be necessary to include