-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathPJS_Call.h
More file actions
35 lines (24 loc) · 736 Bytes
/
PJS_Call.h
File metadata and controls
35 lines (24 loc) · 736 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*!
@header PJS_Call.h
@abstract Types and functions related to calling methods and functions
*/
#ifndef __PJS_CALL_H__
#define __PJS_CALL_H__
#ifdef _cplusplus
extern "C" {
#endif
#include "perl.h"
#include "JavaScript_Env.h"
#include "PJS_Types.h"
#include "PJS_Common.h"
PJS_EXTERN SV *
PJS_call_perl_method(const char *, ...);
PJS_EXTERN I32
perl_call_sv_with_jsvals_rsv(JSContext *, JSObject *, SV *, SV *, uintN, jsval *, SV **);
PJS_EXTERN I32
perl_call_sv_with_jsvals(JSContext *, JSObject *, SV *, SV *, uintN, jsval *, jsval *);
PJS_EXTERN JSBool
PJS_call_javascript_function(PJS_Context *, jsval, SV *, jsval *);
PJS_EXTERN JSBool
perl_call_jsfunc(JSContext *, JSObject *, uintN, jsval *, jsval *);
#endif