Chapter 4. Accessing Ferite Internals

Table of Contents
Introduction
The Memory Manager
Working With Variables
Working With Namespaces
Working With Objects And Classes
Calling Functions
Raising Exceptions and Reporting Errors
Executing Code Snippets

Introduction

This section is designed to teach you how to access, modify, create, and destroy various structures within ferite. It covers all of the different types of variables, functions, classes, and namespaces. It will first cover very basic memory management, then cover variables, namespaces, calling functions, calling object and class functions, and creating a class.

It should be noted that this chapter will cover the registering and accessing of methods, but wont tell you how to write one from scratch manually. That will be left for the next chapter where native modules by hand will be dicussed.