webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Macros | Enumerations | Functions
once.h File Reference
#include <google/protobuf/stubs/atomicops.h>
#include <google/protobuf/stubs/callback.h>
#include <google/protobuf/stubs/common.h>

Go to the source code of this file.

Classes

class  google::protobuf::GoogleOnceDynamic
 

Namespaces

 google
 
 google::protobuf
 

Macros

#define GOOGLE_PROTOBUF_ONCE_INIT   ::google::protobuf::ONCE_STATE_UNINITIALIZED
 
#define GOOGLE_PROTOBUF_DECLARE_ONCE(NAME)   ::google::protobuf::ProtobufOnceType NAME = GOOGLE_PROTOBUF_ONCE_INIT
 

Enumerations

enum  { google::protobuf::ONCE_STATE_UNINITIALIZED = 0, google::protobuf::ONCE_STATE_EXECUTING_CLOSURE = 1, google::protobuf::ONCE_STATE_DONE = 2 }
 

Functions

void google::protobuf::GoogleOnceInitImpl (ProtobufOnceType *once, Closure *closure)
 
void google::protobuf::GoogleOnceInit (ProtobufOnceType *once, void(*init_func)())
 

Macro Definition Documentation

◆ GOOGLE_PROTOBUF_DECLARE_ONCE

#define GOOGLE_PROTOBUF_DECLARE_ONCE (   NAME)    ::google::protobuf::ProtobufOnceType NAME = GOOGLE_PROTOBUF_ONCE_INIT

◆ GOOGLE_PROTOBUF_ONCE_INIT

#define GOOGLE_PROTOBUF_ONCE_INIT   ::google::protobuf::ONCE_STATE_UNINITIALIZED