1PARROT_NCI_THUNK_GEN(1)User Contributed Perl DocumentatioPnARROT_NCI_THUNK_GEN(1)
2
3
4
6 parrot_nci_thunk_gen - Create Parrot NCI thunks
7
9 parrot_nci_thunk_gen [option] -o output_c_file.c < input_signature_list.nci
10
12 This utility creates C file of routines suitable for use as Parrot
13 Native Call Interface thunks.
14
15 Command line Options
16 To print help message and exit use :
17
18 --help
19
20 To print version number of this utility use :
21
22 --version
23
24 Not to complain about duplicated signatures (default is to warn) use :
25
26 -f
27 --no-warn-dups
28
29 To output a thunk file suitable for inclusion in Parrot core (default
30 is no) use :
31
32 --core
33
34 To use default values for loader-name, loader-storage-class, and target
35 suitable for use in Parrot dyntex library use :
36
37 --dyntex
38
39 To specify output file use :
40
41 -o
42 --output <file>
43
44 To select what to output (valid operation are 'head', 'thunks',
45 'loader', 'loader-dyntex', 'coda', 'all', 'all-dyntex', 'names' and
46 'signatures') (default is 'all') use :
47
48 --target <target>
49
50 To set storage class used for the thunks (default value is static) use
51 :
52
53 --thunk-storage-class <storage class>
54
55 To set the prototype used for the thunk function names.Must be a printf
56 format with arity 1 (default value is 'pcf_%s') use :
57
58 --thunk-name-proto <printf prototype>
59
60 To set the storage class used for the loader funtion (default value is
61 none) use :
62
63 --loader-storage-class
64
65 To set the name used for the leader function (default value is
66 'Parrot_load_nci_thunks') use :
67
68 --loader-name
69
71 For more help or any other question you go to <http://parrot.org> or
72 <http://github.com/parrot/parrot>.Or you can send email to
73 'parrot-dev@parrot.org'. You are also invited to join the #parrot IRC
74 channel on irc.parrot.org.
75
76
77
78perl v5.30.0 2019-07-26 PARROT_NCI_THUNK_GEN(1)