Joy Online Manual

NAME
@encode - Type encoding expression

SYNOPSIS

@encode(type)

DESCRIPTION
Encodes an Objective-C type as a string, analogous to the Objective-C directive @encode.

EXAMPLE

js> typedef struct example {
id anObject;
char *aString;
int anInt;
} Example
js> @encode(Example)
{example="anObject"@"aString"^c"anInt"i}

SEE ALSO

sizeof

Index