1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00
Commit Graph

13 Commits

Author SHA1 Message Date
Swastik Baranwal
3d99f1f2c2
checker: disallow struct int to ptr outside unsafe (#17923) 2023-04-13 07:38:21 +02:00
Larpon
161595b041
examples: use math.vec in examples/sokol/particles (#16780) 2022-12-27 15:19:08 +02:00
Vincenzo Palazzo
17bba712bd
checker: ban unsafe pointer/fn comparison (#14462) 2022-05-20 18:30:16 +03:00
Alexander Medvednikov
fbb9e65c0f all: ~500 more byte=>u8 2022-04-15 18:25:45 +03:00
Alexander Medvednikov
d4a0d6f73c all: byte => u8 2022-04-15 14:58:56 +03:00
Delyan Angelov
5b492e26dd
builtin: support a.flags.set(.noslices | .noshrink), use it in the particles example (#13818) 2022-03-24 23:37:13 +02:00
Subhomoy Haldar
114a341f5f
rand: simplify rand.PRNG, move to optional types for error handling (#13570) 2022-02-23 12:36:14 +02:00
Delyan Angelov
89d399b035
examples: fix leak in examples/sokol/particles/, by marking s.pool and s.bin with .noslices 2022-02-03 18:52:52 +02:00
Lukas Neubert
16e79bc3ca
tools: format most examples and tutorials, add them to v test-cleancode (#9826) 2021-04-20 17:16:35 +03:00
Delyan Angelov
2f149e6984 vfmt: fix merged param warnings in sokol's particles example and vlib/x/net/udp.v 2020-10-18 13:45:13 +03:00
Larpon
05ec32c331
examples: fix sokol/particles to start up faster (#6610) 2020-10-13 13:16:51 +03:00
Larpon
0e2f267805
examples: add support for transparency / opacity / alpha in particle example (#6488) 2020-09-28 06:14:15 +02:00
Delyan Angelov
b4535acbac examples: move the particle module in modules/particle
The goal is enabling running `v build-examples` from outside vroot.
The modules/ folders are already skipped when building examples.
2020-09-18 19:06:04 +03:00