EDOBE XDOM TAKE 6 IR - PRODUCTSHEET Especificações Página 205

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 304
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 204
CHAPTER 7: Integrating External Libraries Defining entry points for direct access 205
For example, suppose your library defines these two entry points:
One (Integer a, String b);
Two ();
The signature strings for these two functions would be "One_ds", "Two".
N
OTE: You cannot define function overloading by returning multiple different signatures for one function.
Attempting to do so produces undefined results.
Library termination
Define the entry point ESTerminate() to free any memory you have allocated when your library is
unloaded.
Whenever a JavaScript function makes a call to a library function, it increments a reference count for that
library. When the reference count for a library reaches 0, the library is automatically unloaded; your
termination function is called, and the
ExternalObject instance is deleted. Note that deleting the
ExternalObject instance does not unload the library if there are remaining references.
Vista de página 204
1 2 ... 200 201 202 203 204 205 206 207 208 209 210 ... 303 304

Comentários a estes Manuais

Sem comentários