File: Prototype.xs

package info (click to toggle)
libsub-prototype-perl 0.03-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 276 kB
  • sloc: perl: 190; makefile: 3
file content (12 lines) | stat: -rw-r--r-- 217 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#include "EXTERN.h"
#include "perl.h"
#include "XSUB.h"

MODULE = Sub::Prototype  PACKAGE = Sub::Prototype

void
set_prototype (code, prototype)
		CV *code
		char *prototype
	CODE:
		sv_setpv ((SV *)code, prototype);