mirror of https://github.com/swig/swig
23 lines
375 B
OpenEdge ABL
23 lines
375 B
OpenEdge ABL
%module doxygen_alias
|
|
|
|
#ifdef SWIGJAVA
|
|
%feature("doxygen:alias:nullptr") "null"
|
|
#elif defined(SWIGPYTHON)
|
|
%feature("doxygen:alias:nullptr") "None"
|
|
#else
|
|
%feature("doxygen:alias:nullptr") "NULL"
|
|
#endif
|
|
|
|
%inline %{
|
|
|
|
class Something {};
|
|
|
|
/**
|
|
A function returning something.
|
|
|
|
@returns A new object which may be @nullptr.
|
|
*/
|
|
Something* make_something() { return 0; }
|
|
|
|
%}
|