| author | |
| committer | |
| log | e1ca6946bee3acf9cbdf6e5ea30fa2d55304365d |
| tree | 22a4f47cd2625e52d49437f1cd9f1f6d64d53dc2 |
| parent | 7c2bde1f07f5e672bb2320c517568dab9edab652 |
3 files changed, 4 insertions(+), 4 deletions(-)
src/clang.zig+2-2| ... | @@ -434,8 +434,8 @@ pub const FieldDecl = opaque { | ... | @@ -434,8 +434,8 @@ pub const FieldDecl = opaque { |
| 434 | pub const FileID = opaque {}; | 434 | pub const FileID = opaque {}; |
| 435 | 435 | ||
| 436 | pub const FloatingLiteral = opaque { | 436 | pub const FloatingLiteral = opaque { |
| 437 | pub const getValueAsApproximateDouble = ZigClangAPFloat_getValueAsApproximateDouble; | 437 | pub const getValueAsApproximateDouble = ZigClangFloatingLiteral_getValueAsApproximateDouble; |
| 438 | extern fn ZigClangAPFloat_getValueAsApproximateDouble(*const FloatingLiteral) f64; | 438 | extern fn ZigClangFloatingLiteral_getValueAsApproximateDouble(*const FloatingLiteral) f64; |
| 439 | }; | 439 | }; |
| 440 | 440 | ||
| 441 | pub const ForStmt = opaque { | 441 | pub const ForStmt = opaque { |
src/zig_clang.cpp+1-1| ... | @@ -2494,7 +2494,7 @@ unsigned ZigClangAPFloat_convertToHexString(const ZigClangAPFloat *self, char *D | ... | @@ -2494,7 +2494,7 @@ unsigned ZigClangAPFloat_convertToHexString(const ZigClangAPFloat *self, char *D |
| 2494 | return casted->convertToHexString(DST, HexDigits, UpperCase, (llvm::APFloat::roundingMode)RM); | 2494 | return casted->convertToHexString(DST, HexDigits, UpperCase, (llvm::APFloat::roundingMode)RM); |
| 2495 | } | 2495 | } |
| 2496 | 2496 | ||
| 2497 | double ZigClangAPFloat_getValueAsApproximateDouble(const ZigClangFloatingLiteral *self) { | 2497 | double ZigClangFloatingLiteral_getValueAsApproximateDouble(const ZigClangFloatingLiteral *self) { |
| 2498 | auto casted = reinterpret_cast<const clang::FloatingLiteral *>(self); | 2498 | auto casted = reinterpret_cast<const clang::FloatingLiteral *>(self); |
| 2499 | return casted->getValueAsApproximateDouble(); | 2499 | return casted->getValueAsApproximateDouble(); |
| 2500 | } | 2500 | } |
src/zig_clang.h+1-1| ... | @@ -1105,7 +1105,7 @@ ZIG_EXTERN_C struct ZigClangSourceLocation ZigClangDeclStmt_getBeginLoc(const st | ... | @@ -1105,7 +1105,7 @@ ZIG_EXTERN_C struct ZigClangSourceLocation ZigClangDeclStmt_getBeginLoc(const st |
| 1105 | 1105 | ||
| 1106 | ZIG_EXTERN_C unsigned ZigClangAPFloat_convertToHexString(const struct ZigClangAPFloat *self, char *DST, | 1106 | ZIG_EXTERN_C unsigned ZigClangAPFloat_convertToHexString(const struct ZigClangAPFloat *self, char *DST, |
| 1107 | unsigned HexDigits, bool UpperCase, enum ZigClangAPFloat_roundingMode RM); | 1107 | unsigned HexDigits, bool UpperCase, enum ZigClangAPFloat_roundingMode RM); |
| 1108 | ZIG_EXTERN_C double ZigClangAPFloat_getValueAsApproximateDouble(const ZigClangFloatingLiteral *self); | 1108 | ZIG_EXTERN_C double ZigClangFloatingLiteral_getValueAsApproximateDouble(const ZigClangFloatingLiteral *self); |
| 1109 | 1109 | ||
| 1110 | ZIG_EXTERN_C enum ZigClangStringLiteral_StringKind ZigClangStringLiteral_getKind(const struct ZigClangStringLiteral *self); | 1110 | ZIG_EXTERN_C enum ZigClangStringLiteral_StringKind ZigClangStringLiteral_getKind(const struct ZigClangStringLiteral *self); |
| 1111 | ZIG_EXTERN_C const char *ZigClangStringLiteral_getString_bytes_begin_size(const struct ZigClangStringLiteral *self, | 1111 | ZIG_EXTERN_C const char *ZigClangStringLiteral_getString_bytes_begin_size(const struct ZigClangStringLiteral *self, |