/+junk/gjs-vapi

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/%2Bjunk/gjs-vapi

« back to all changes in this revision

Viewing changes to test.vala

  • Committer: Gustav Hartvigsson
  • Date: 2021-09-13 16:03:20 UTC
  • Revision ID: gustav.hartvigsson@gmail.com-20210913160320-7ea8b6t006zr2879
* moved the path array out of the function call.

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
    print (e.message + "\n");
9
9
  }
10
10
  
11
 
  var ctx = new Context.with_search_path ({"resource:///gjs/test/vapi/test/",
12
 
                                            null});
 
11
  string js_paths[] = {"resource:///gjs/test/vapi/test/",
 
12
                       null};
 
13
  
 
14
  var ctx = new Context.with_search_path (js_paths);
13
15
  int i;
14
16
  
15
17
  try {