From 3dafa8dba4c0faaa808f457e5df600bb3d98b7fa Mon Sep 17 00:00:00 2001 From: mappu Date: Thu, 15 Aug 2024 19:51:58 +1200 Subject: [PATCH] genbindings: fix up naming for << and >> functions --- cmd/genbindings/intermediate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmd/genbindings/intermediate.go b/cmd/genbindings/intermediate.go index 66763552..01a49053 100644 --- a/cmd/genbindings/intermediate.go +++ b/cmd/genbindings/intermediate.go @@ -63,6 +63,9 @@ func (nm CppMethod) SafeMethodName() string { `>=`, `GreaterOrEqual`, `<=`, `LesserOrEqual`, `=`, `Assign`, + + `<<`, `ShiftLeft`, // Qt classes use it more for stream functions e.g. in QDataStream + `>>`, `ShiftRight`, `>`, `Greater`, `<`, `Lesser`,