Documentation Set for Swarm 2.2
Prev | Reference I. Defobj Library | Next

# FArguments

## Name

FArguments -- A language independent interface to dynamic call argument construction.

## Description

A language independent interface to dynamic call argument construction.

## Protocols adopted by FArguments

Create Drop CREATABLE

## Methods

### Phase: Creating

- - setBooleanReturnType

- - setReturnType: (fcall_type_t)retType

- - setObjCReturnType: (char)type

- - addJavaObject: (JOBJECT)obj

- - addSelector: (SEL)aSel

- - (void)addObject: obj

- - addString: (const char *)value

- - addLongDouble: (long double)value

- - addDouble: (double)value

- - addFloat: (float)value

- - addUnsignedLongLong: (unsigned long long)value

- - addLongLong: (long long)value

- - addUnsignedLong: (unsigned long)value

- - addLong: (long)value

- - addUnsigned: (unsigned)value

- - addInt: (int)value

- - addUnsignedShort: (unsigned short)value

- - addShort: (short)value

- - addUnsignedChar: (unsigned char)value

- - addBoolean: (BOOL)value

- - addChar: (char)value

- - addArgument: (void *)value ofObjCType: (char)type

- - addArgument: (types_t *)value ofType: (fcall_type_t)type

- + create: (id <Zone>)aZone setSelector: (SEL)aSel

- - setJavaSignature: (const char *)javaSignature

- - setSelector: (SEL)aSel
  The selector is used to set argument types. Some languages won't have any, and so for those languages this need not be called.

- - setLanguage: (id <Symbol>)languageType

### Phase: Using

- - (void *)getResult

- - (id <Symbol>)getLanguage

- - (val_t)getRetVal

Prev | Home | Next
EventType | Up | FCall