Добавление квалификатора const, который запрещает изменение указателя

This commit is contained in:
Andrey Pokidov 2026-03-23 18:55:33 +07:00
parent 51fafe50c8
commit 610756ffed
14 changed files with 1019 additions and 1039 deletions

View file

Internal server error - Personal Git Server: Beyond coding. We Forge.

500

Internal server error

Forgejo version: 11.0.1+gitea-1.22.0

@ -1,101 +1,101 @@
#include "./complex.h"
extern inline void bgc_fp32_complex_reset(BGC_FP32_Complex* complex);
extern inline void bgc_fp64_complex_reset(BGC_FP64_Complex* complex);
extern inline void bgc_fp32_complex_reset(BGC_FP32_Complex* const complex);
extern inline void bgc_fp64_complex_reset(BGC_FP64_Complex* const complex);
extern inline void bgc_fp32_complex_make(BGC_FP32_Complex* complex, const float real, const float imaginary);