Skip to content

Commit 803e0cc

Browse files
committed
Reintroduce pci_cleanup as destroy_function for Access class
1 parent 1d5b3e2 commit 803e0cc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vapi/pci.vapi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ namespace Pci {
5959
uint addr; /* Position in the config space */
6060
}
6161

62-
[CCode (cname = "struct pci_access", destroy_function = "", has_type_id = false)]
62+
[CCode (cname = "struct pci_access", destroy_function = "pci_cleanup", has_type_id = false)]
6363
[Compact]
6464
public class Access {
6565
/* Options you can change: */

0 commit comments

Comments
 (0)