UV/Resource/UV.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 package SPVM::UV::Resource::UV;
2  
3  
4  
5 1;
6  
7 =encoding utf8
8  
9 =head1 Name
10  
11 SPVM::UV::Resource::UV - Data Structure for UV class and libuv
12  
13 =head1 Description
14  
15 UV::Resource::UV class in L<SPVM> is a L<resource|SPVM::Document::Resource> class for data structure for UV class and libuv.
16  
17 =head1 Usage
18  
19 MyClass.build:
20
21 my $config = SPVM::Builder::Config->new_c99;
22
23 $config->use_resource('UV::Resource::UV');
24
25 $config;
26  
27 MyClass.c:
28  
29 #include "spvm_native.h"
30 #include "spvm_uv.h"
31
32 int32_t SPVM__MyClass__test(SPVM_ENV* env, SPVM_VALUE* stack) {
33
34 // Use functions in foo.h
35
36 return 0;
37 }
38  
39 =head1 Copyright & License
40  
41 Copyright (c) 2026 Yuki Kimoto
42  
43 MIT License