Skip to main content

code-style

Write C/C++ in the Xenolith/Stappler monorepo the way the codebase is written. Use BEFORE creating or editing sources in runtime/, stappler/, xenolith/, tests/ or utils/ — new file, new header, new class, new platform branch, new allocation. Covers .cpp SCU vs .cc subunits, license/include-guard/namespace layout, SP_PUBLIC and SPRT_API, naming (_member, handleXxx, Rc<T>::create), #if SPRT_WINDOWS platform guards, pool vs malloc ownership rules (AllocPool, sprt::__delete, new (pool) T), independent pools that move between threads (PoolRef, SharedRef<T>, PoolObject), threads and dispatch (Looper, Task, Handle), the scene graph (Node geometry, and using System/Component instead of subclassing Node), strings (StringView lifetime, mem_std vs mem_pool, CallbackStream, reader API), Unicode text (compareCodepoints vs compareFolded vs collate, case mapping strings not characters, IDN, and the rules for generated Unicode tables), error handling with no exceptions (Status, Result<T>, slog(), asserts), weakly-typed data

الانتقال إلى التثبيت

معلومات المصدر

المستودع
XenolithEngine/xenolith-engine
آخر نشاط في المصدر
١٧ أغسطس ٢٠٢٦ في ١٢:٢٩
لغة SKILL.md المكتشفة
الإنجليزية
النجوم
٤
التفرعات
٠

خيارات التثبيت

يُحدَّد Prompt الذي يراجع المصدر أولًا بشكل افتراضي. يمكنك التبديل إلى أمر مباشر أو تنزيل نسخة محلية.

مراجعة ملفات المصدر

اقرأ SKILL.md وأي ملفات مرافقة يعرضها SkillsMP قبل أن تقرر التثبيت.