add perl wrapper to scgi

This commit is contained in:
Anthony Minessale
2012-05-23 09:37:54 -05:00
parent a5cd951c53
commit bb3f72cb66
12 changed files with 7025 additions and 30 deletions

View File

@@ -0,0 +1,16 @@
#include <EXTERN.h>
#include <perl.h>
EXTERN_C void xs_init (pTHX);
EXTERN_C void boot_DynaLoader (pTHX_ CV* cv);
EXTERN_C void
xs_init(pTHX)
{
char *file = __FILE__;
dXSUB_SYS;
/* DynaLoader is a special case */
newXS("DynaLoader::boot_DynaLoader", boot_DynaLoader, file);
}