v / vlib / builtin
Raw file | 14 loc (12 sloc) | 160 bytes | Latest commit hash 9d0a5942a
1module builtin
2
3[typedef]
4struct C.IError {
5 _object voidptr
6}
7
8[unsafe]
9pub fn (ie &IError) free() {
10 unsafe {
11 cie := &C.IError(ie)
12 free(cie._object)
13 }
14}