1Future::AsyncAwait::ExtUesnesrioCnoBnutirlidbeurt(e3d)PFeurtlurDeo:c:uAmseynntcaAtwiaoint::ExtensionBuilder(3)
2
3
4
6 "Future::AsyncAwait::ExtensonBuilder" - build-time support for
7 extensions to "Future::AsyncAwait"
8
10 In Build.PL:
11
12 use Future::AsyncAwait::ExtensionBuilder;
13
14 my $build = Module::Build->new(
15 ...,
16 configure_requires => {
17 ...
18 'Future::AsyncAwait::ExtensionBuilder' => 0,
19 }
20 );
21
22 Future::AsyncAwait::ExtensionBuilder->extend_module_build( $build );
23
24 ...
25
27 This module provides a build-time helper to assist authors writing XS
28 modules that provide extensions to Future::AsyncAwait. It prepares a
29 Module::Build-using distribution to be able to make use of the
30 "Future::AsyncAwait" extension API.
31
33 write_AsyncAwait_h
34 Future::AsyncAwait::ExtensionBuilder->write_AsyncAwait_h
35
36 Writes the AsyncAwait.h file to the current working directory. To cause
37 the compiler to actually find this file, see "extra_compiler_flags".
38
39 extra_compiler_flags
40 @flags = Future::AsyncAwait::ExtensionBuilder->extra_compiler_flags
41
42 Returns a list of extra flags that the build scripts should add to the
43 compiler invocation. This enables the C compiler to find the
44 AsyncAwait.h file.
45
46 extend_module_build
47 Future::AsyncAwait::ExtensionBuilder->extend_module_build( $build )
48
49 A convenient shortcut for performing all the tasks necessary to make a
50 Module::Build-based distribution use the helper.
51
53 Paul Evans <leonerd@leonerd.org.uk>
54
55
56
57perl v5.36.0 2023-0F2u-t1u5re::AsyncAwait::ExtensionBuilder(3)