repo.or.cz
/
gecko.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Backed out 5 changesets (bug 1890092, bug 1888683) for causing build bustages & crash...
[gecko.git]
/
third_party
/
rust
/
uniffi_bindgen
/
src
/
bindings
/
python
/
templates
/
Float32Helper.py
blob
a52107a6381bd22a9e5b715003be909224078441
1
class
_UniffiConverterFloat
(
_UniffiConverterPrimitiveFloat
):
2
@staticmethod
3
def
read
(
buf
):
4
return
buf
.
read_float
()
5
6
@staticmethod
7
def
write_unchecked
(
value
,
buf
):
8
buf
.
write_float
(
value
)