mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
new ca bundle
This commit is contained in:
parent
9dfa6e2905
commit
5ebc96d531
@ -220,7 +220,7 @@
|
|||||||
|
|
||||||
#define TARGET make_ca_bundle
|
#define TARGET make_ca_bundle
|
||||||
#define LOCAL_LIBS $[LOCAL_LIBS] express
|
#define LOCAL_LIBS $[LOCAL_LIBS] express
|
||||||
#define OTHER_LIBS pystub
|
#define OTHER_LIBS dtoolutil:c dtool:m pystub
|
||||||
|
|
||||||
#define SOURCES \
|
#define SOURCES \
|
||||||
make_ca_bundle.cxx
|
make_ca_bundle.cxx
|
||||||
@ -231,7 +231,7 @@
|
|||||||
#begin test_bin_target
|
#begin test_bin_target
|
||||||
#define TARGET test_types
|
#define TARGET test_types
|
||||||
#define LOCAL_LIBS $[LOCAL_LIBS] express
|
#define LOCAL_LIBS $[LOCAL_LIBS] express
|
||||||
#define OTHER_LIBS pystub
|
#define OTHER_LIBS dtoolutil:c dtool:m prc:c dtoolconfig:m pystub
|
||||||
|
|
||||||
#define SOURCES \
|
#define SOURCES \
|
||||||
test_types.cxx
|
test_types.cxx
|
||||||
@ -246,7 +246,7 @@
|
|||||||
test_ordered_vector.cxx
|
test_ordered_vector.cxx
|
||||||
|
|
||||||
#define LOCAL_LIBS $[LOCAL_LIBS] putil
|
#define LOCAL_LIBS $[LOCAL_LIBS] putil
|
||||||
#define OTHER_LIBS $[OTHER_LIBS] pystub
|
#define OTHER_LIBS dtoolutil:c dtool:m prc:c dtoolconfig:m pystub
|
||||||
|
|
||||||
#end test_bin_target
|
#end test_bin_target
|
||||||
|
|
||||||
@ -256,7 +256,7 @@
|
|||||||
#define TARGET test_zstream
|
#define TARGET test_zstream
|
||||||
#define USE_PACKAGES zlib
|
#define USE_PACKAGES zlib
|
||||||
#define LOCAL_LIBS $[LOCAL_LIBS] express
|
#define LOCAL_LIBS $[LOCAL_LIBS] express
|
||||||
#define OTHER_LIBS dtoolutil:c dtool:m pystub
|
#define OTHER_LIBS dtoolutil:c dtool:m prc:c dtoolconfig:m pystub
|
||||||
|
|
||||||
#define SOURCES \
|
#define SOURCES \
|
||||||
test_zstream.cxx
|
test_zstream.cxx
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -254,7 +254,7 @@ main() {
|
|||||||
|
|
||||||
// Testing PointerToArray.
|
// Testing PointerToArray.
|
||||||
|
|
||||||
PointerToArray<int> iarray(10);
|
PointerToArray<int> iarray = PointerToArray<int>::empty_array(10);
|
||||||
memset(iarray, 0, sizeof(int)*10);
|
memset(iarray, 0, sizeof(int)*10);
|
||||||
|
|
||||||
for (int i = 0; i < 10; i++) {
|
for (int i = 0; i < 10; i++) {
|
||||||
|
@ -67,7 +67,7 @@ zlib_decompress(istream &source) {
|
|||||||
while (result == Z_BUF_ERROR) {
|
while (result == Z_BUF_ERROR) {
|
||||||
dest_len *= 2;
|
dest_len *= 2;
|
||||||
cerr << "Increasing buffer size to " << dest_len << "\n";
|
cerr << "Increasing buffer size to " << dest_len << "\n";
|
||||||
dest = PANDA_REALLOC_ARRAY(dest, dest_len);
|
dest = (char *)PANDA_REALLOC_ARRAY(dest, dest_len);
|
||||||
|
|
||||||
actual_dest_len = dest_len;
|
actual_dest_len = dest_len;
|
||||||
result = uncompress((Bytef *)dest, &actual_dest_len,
|
result = uncompress((Bytef *)dest, &actual_dest_len,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user