Next: , Up: Extension API Description


16.4.1 Introduction

Access to facilities within gawk are made available by calling through function pointers passed into your extension.

API function pointers are provided for the following kinds of operations:

Some points about using the API:

While you may call the API functions by using the function pointers directly, the interface is not so pretty. To make extension code look more like regular code, the gawkapi.h header file defines several macros that you should use in your code. This section presents the macros as if they were functions.