mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-01 01:07:51 -04:00
*** empty log message ***
This commit is contained in:
parent
23a4ae9a0d
commit
024d774ccd
@ -332,6 +332,19 @@ null() {
|
|||||||
return *(ptr()->_null_ostream_ptr);
|
return *(ptr()->_null_ostream_ptr);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
// Function: Notify::write_string
|
||||||
|
// Access: Public, Static
|
||||||
|
// Description: A convenient way for scripting languages, which may
|
||||||
|
// know nothing about ostreams, to write to Notify.
|
||||||
|
// This writes a single string, followed by an implicit
|
||||||
|
// newline, to the Notify output stream.
|
||||||
|
////////////////////////////////////////////////////////////////////
|
||||||
|
void Notify::
|
||||||
|
write_string(const string &str) {
|
||||||
|
out() << str << "\n";
|
||||||
|
}
|
||||||
|
|
||||||
////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////
|
||||||
// Function: Notify::ptr
|
// Function: Notify::ptr
|
||||||
// Access: Public, Static
|
// Access: Public, Static
|
||||||
|
@ -58,6 +58,7 @@ PUBLISHED:
|
|||||||
|
|
||||||
static ostream &out();
|
static ostream &out();
|
||||||
static ostream &null();
|
static ostream &null();
|
||||||
|
static void write_string(const string &str);
|
||||||
static Notify *ptr();
|
static Notify *ptr();
|
||||||
|
|
||||||
static long get_literal_flag();
|
static long get_literal_flag();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user