C++
int acedUndef( const ACHAR * sname, int nFuncNum );
File
acedads.h
Description
Undefines an AutoLISP external function that was previously defined by a call to acedDefun().
If AutoLISP doesn't recognize both arguments as identifying the same external function, it returns an error status and leaves the function defined.
The ARX application that calls acedUndef() must be the same program that originally defined the function with acedDefun().
It is not necessary to call acedUndef() in response to an kUnloadDwgMsg message. This function is provided for applications that need to manage the use of function names explicitly.
If acedUndef() succeeds, it returns a value of RTNORM; otherwise, it returns an error code.
Parameters
Parameters | Description |
---|---|
sname | Name of the function that was used to define it in the acedDefun() call |
nFuncNum | Nonnegative integer code of the function that was used to define it in the acedDefun() call |
Previous Declaration
int acedUndef(
const ACHAR * sname,
short funcno
);