Files
SUB-OS/include/kernel/cpp_kernel.h
T
subhobhai943 6eaf9397a2 feat: Add freestanding C++17 OOP kernel subsystem and interactive Snake Game
- Add freestanding C++17 runtime with operator new/delete, pure virtual handlers, and global constructor execution in kernel/cpp/cxx_runtime.cpp
- Implement C++ Object-Oriented telemetry and hardware services with polymorphism in kernel/cpp/cpp_module.cpp and include/kernel/cpp_kernel.h
- Add interactive ANSI Snake Game in userland/lazybox/snake.c with real-time keyboard control and automated simulation mode
- Initialize C++ subsystem during kernel boot step [8/14] in kernel/main.c
- Add LazyBox applets: 'snake', 'cppinfo', and 'cpptest'
2026-08-18 21:14:16 +05:30

26 lines
472 B
C

#ifndef _KERNEL_CPP_KERNEL_H
#define _KERNEL_CPP_KERNEL_H
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
#ifdef __cplusplus
extern "C" {
#endif
// Initialize C++ Runtime and Object-Oriented Subsystems
int cpp_kernel_init(void);
// Print C++ Subsystem Status and Telemetry
void cpp_kernel_print_status(void);
// Run C++ OOP Virtual Dispatch and Template Test
int cpp_test_oop_subsystem(void);
#ifdef __cplusplus
}
#endif
#endif // _KERNEL_CPP_KERNEL_H