nsgenbind
Loading...
Searching...
No Matches
Functions
duk-libdom-generated.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
#include <string.h>
#include <unistd.h>
#include <getopt.h>
#include <errno.h>
#include <ctype.h>
#include "options.h"
#include "utils.h"
#include "nsgenbind-ast.h"
#include "webidl-ast.h"
#include "ir.h"
#include "output.h"
#include "duk-libdom.h"

Go to the source code of this file.

Functions

int output_generated_attribute_getter (struct opctx *outc, struct ir_entry *interfacee, struct ir_attribute_entry *atributee)
 
int output_generated_attribute_setter (struct opctx *outc, struct ir_entry *interfacee, struct ir_attribute_entry *atributee)
 

Detailed Description

functions that automatically generate binding contents based on heuristics with explicit knowledge about libdom and how IDL data types map to it.

Definition in file duk-libdom-generated.c.

Function Documentation

◆ output_generated_attribute_getter()

int output_generated_attribute_getter ( struct opctx outc,
struct ir_entry interfacee,
struct ir_attribute_entry atributee 
)

Generate class property getter for a single attribute.

Definition at line 82 of file duk-libdom-generated.c.

◆ output_generated_attribute_setter()

int output_generated_attribute_setter ( struct opctx outc,
struct ir_entry interfacee,
struct ir_attribute_entry atributee 
)

Generate class property setter for a single attribute.

Definition at line 275 of file duk-libdom-generated.c.