Skip to content

Commit 887323f

Browse files
committed
feat: better ffi error impl
1 parent 3153ac1 commit 887323f

File tree

1 file changed

+16
-1
lines changed

1 file changed

+16
-1
lines changed

float-pigment-css/float_pigment_css.h

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,23 @@ enum class ContainKeyword {
9191

9292
enum class FfiErrorCode {
9393
None,
94-
NullPointer,
94+
ThisNullPointer,
95+
PathNullPointer,
96+
PrefixNullPointer,
97+
SourceNullPointer,
98+
BufferNullPointer,
99+
ExprPtrNullPointer,
100+
StrNullPointer,
101+
InlineStyleTextNullPointer,
102+
InlineRuleNullPointer,
103+
StyleTextNullPointer,
104+
SelectorTextNullPointer,
95105
InvalidPath,
106+
JsonNullPointer,
107+
ArrayNullPointer,
108+
SelectorNullPointer,
109+
StyleSheetNullPointer,
110+
MapNullPointer,
96111
Unknown,
97112
};
98113

0 commit comments

Comments
 (0)