Next:
The C API
Up:
Tutorials on Writing C
Previous:
Tutorials on Writing C
Contents
The C API
Overview of This Tutorial
The Absolute Minimum
set_init_callback()
set_exit_callback()
start_new_program()
end_class()
ADD_STORAGE()
Pike_fp-current_storage
ADD_FUNCTION()
tFunc
The Stack
Interacting with the Stack
Pike_error()
The CMOD API
Overview of This Tutorial
INIT - keyword
EXIT - keyword
PIKECLASS - keyword
PIKEFUN - keyword
CVAR - keyword
THIS - keyword
RETURN - keyword
Writing a C Module
Overview of This Tutorial
The Files of a Module
Getting Started
Pike Level and C Level
Define the Pike Level Interface
Write the Functions
Error Handling
Init and Exit Routines
An Example - The Rev Module
Define the Pike Level Interface
Write the Functions
About this document ...
2003-03-04