sc_main_fiber.hh (13403:cebee63981d3) sc_main_fiber.hh (13436:e4498ecec979)
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 33 unchanged lines hidden (view full) ---

42 int _argc = 0;
43 char **_argv = NULL;
44 std::string _resultStr;
45 int _resultInt = 1;
46
47 bool _called = false;
48
49 public:
1/*
2 * Copyright 2018 Google, Inc.
3 *
4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are
6 * met: redistributions of source code must retain the above copyright
7 * notice, this list of conditions and the following disclaimer;
8 * redistributions in binary form must reproduce the above copyright

--- 33 unchanged lines hidden (view full) ---

42 int _argc = 0;
43 char **_argv = NULL;
44 std::string _resultStr;
45 int _resultInt = 1;
46
47 bool _called = false;
48
49 public:
50 ScMainFiber() : Fiber(8 * 1024 * 1024) {}
51
50 int argc() { return _argc; }
51 const char *const *argv() { return _argv; }
52 std::string resultStr() { return _resultStr; }
53 int resultInt() { return _resultInt; }
54 bool called() { return _called; }
55
56 void
57 setArgs(int new_argc, char **new_argv)

--- 13 unchanged lines hidden ---
52 int argc() { return _argc; }
53 const char *const *argv() { return _argv; }
54 std::string resultStr() { return _resultStr; }
55 int resultInt() { return _resultInt; }
56 bool called() { return _called; }
57
58 void
59 setArgs(int new_argc, char **new_argv)

--- 13 unchanged lines hidden ---